/** * int argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static int or(int first, int second) { mockingProgress().getArgumentMatcherStorage().reportOr(); return 0; }
/** * byte argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static byte or(byte first, byte second) { mockingProgress().getArgumentMatcherStorage().reportOr(); return 0; }
/** * double argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static double or(double first, double second) { mockingProgress().getArgumentMatcherStorage().reportOr(); return 0; }
/** * long argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static long or(long first, long second) { mockingProgress().getArgumentMatcherStorage().reportOr(); return 0; }
/** * float argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static float or(float first, float second) { mockingProgress().getArgumentMatcherStorage().reportOr(); return 0; }
/** * short argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static short or(short first, short second) { mockingProgress().getArgumentMatcherStorage().reportOr(); return 0; }
/** * boolean argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>false</code>. */ public static boolean or(boolean first, boolean second) { mockingProgress().getArgumentMatcherStorage().reportOr(); return false; }
/** * char argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static char or(char first, char second) { mockingProgress().getArgumentMatcherStorage().reportOr(); return 0; }
/** * Object argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param <T> * the type of the object, it is passed through to prevent casts. * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>null</code>. */ public static <T> T or(T first, T second) { mockingProgress().getArgumentMatcherStorage().reportOr(); return null; }
/** * float argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static float or(float first, float second) { return mockingProgress.getArgumentMatcherStorage().reportOr().returnZero(); }
/** * double argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static double or(double first, double second) { return mockingProgress.getArgumentMatcherStorage().reportOr().returnZero(); }
/** * short argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static short or(short first, short second) { return mockingProgress.getArgumentMatcherStorage().reportOr().returnZero(); }
/** * boolean argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>false</code>. */ public static boolean or(boolean first, boolean second) { return mockingProgress.getArgumentMatcherStorage().reportOr().returnFalse(); }
/** * long argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static long or(long first, long second) { return mockingProgress.getArgumentMatcherStorage().reportOr().returnZero(); }
/** * int argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static int or(int first, int second) { return mockingProgress.getArgumentMatcherStorage().reportOr().returnZero(); }
/** * char argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static char or(char first, char second) { return mockingProgress.getArgumentMatcherStorage().reportOr().returnChar(); }
/** * byte argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static byte or(byte first, byte second) { return mockingProgress.getArgumentMatcherStorage().reportOr().returnZero(); }
/** * Object argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param <T> * the type of the object, it is passed through to prevent casts. * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>null</code>. */ public static <T> T or(T first, T second) { return mockingProgress.getArgumentMatcherStorage().reportOr().<T>returnNull(); }
/** * long argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static long or(long first, long second) { return mockingProgress.getArgumentMatcherStorage().reportOr().returnZero(); }
/** * double argument that matches any of the given argument matchers. * <p> * See examples in javadoc for {@link AdditionalMatchers} class * * @param first * placeholder for the first argument matcher. * @param second * placeholder for the second argument matcher. * @return <code>0</code>. */ public static double or(double first, double second) { return mockingProgress.getArgumentMatcherStorage().reportOr().returnZero(); }