/** * Expects a short that matches both given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final short and(short first, short second) { return EasyMock.and(first, second); }
/** * Expects an Object that matches both 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 and(T first, T second) { return EasyMock.and(first, second); }
/** * Expects an int that matches both given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final int and(int first, int second) { return EasyMock.and(first, second); }
/** * Expects a long that matches both given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final long and(long first, long second) { return EasyMock.and(first, second); }
/** * Expects a float that matches both given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final float and(float first, float second) { return EasyMock.and(first, second); }
/** * Expects a double that matches both given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final double and(double first, double second) { return EasyMock.and(first, second); }
/** * Expects a char that matches both given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final char and(char first, char second) { return EasyMock.and(first, second); }
/** * Expects a byte that matches both given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>0</code>. */ protected final byte and(byte first, byte second) { return EasyMock.and(first, second); }
/** * Expects a boolean that matches both given expectations. * * @param first placeholder for the first expectation. * @param second placeholder for the second expectation. * @return <code>false</code>. */ protected final boolean and(boolean first, boolean second) { return EasyMock.and(first, second); }