/** * Expects a short that matches one of the given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final short or(short first, short second) { return EasyMock.or(first, second); }
/** * Expects an Object that matches one of the given expectations. * * @param <T> the type of the object, it is passed through to prevent casts. * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>null</code>. */ protected final <T> T or(T first, T second) { return EasyMock.or(first, second); }
/** * Expects an int that matches one of the given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final int or(int first, int second) { return EasyMock.or(first, second); }
/** * Expects a long that matches one of the given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final long or(long first, long second) { return EasyMock.or(first, second); }
/** * Expects a float that matches one of the given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final float or(float first, float second) { return EasyMock.or(first, second); }
/** * Expects a double that matches one of the given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final double or(double first, double second) { return EasyMock.or(first, second); }
/** * Expects a char that matches one of the given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final char or(char first, char second) { return EasyMock.or(first, second); }
/** * Expects a byte that matches one of the given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final byte or(byte first, byte second) { return EasyMock.or(first, second); }
/** * Expects a boolean that matches one of the given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>false</code>. */ protected final boolean or(boolean first, boolean second) { return EasyMock.or(first, second); }