Lines Matching defs:expectation

57  * The various expectation methods such as {@link #eq(boolean)}, {@link #and(boolean, boolean)},
58 * and {@link #leq(byte)} all have nonsense return values. Each of the expectation methods may only
65 * Similarly, the complex expectation methods ({@code #and}, {@code #or}, and {@code not}) take
67 * other than an expectation method is provided. E.g. {@code mockObject.doFoo(and(gt(5), lt(10));}
73 * expectation APIs is not made clear by the method signatures of these expectation methods. In
75 * expectation methods, and not just any random method that returns a {@literal byte} or even a
243 * Returns the expectation setter for the last expected invocation in the current thread.
247 * or according to parameter expectation criteria. Some examples of parameter expectation
261 * @return the expectation setter.
268 * Returns the expectation setter for the last expected invocation in the
278 * @return the expectation setter.
288 * If this method is used for anything other than to set a parameter expectation as part of a
304 * If this method is used for anything other than to set a parameter expectation as part of a
320 * If this method is used for anything other than to set a parameter expectation as part of a
336 * If this method is used for anything other than to set a parameter expectation as part of a
352 * If this method is used for anything other than to set a parameter expectation as part of a
368 * If this method is used for anything other than to set a parameter expectation as part of a
384 * If this method is used for anything other than to set a parameter expectation as part of a
399 * If this method is used for anything other than to set a parameter expectation as part of a
415 * If this method is used for anything other than to set a parameter expectation as part of a
434 * If this method is used for anything other than to set a parameter expectation as part of a
454 * If this method is used for anything other than to set a parameter expectation as part of a
474 * If this method is used for anything other than to set a parameter expectation as part of a
494 * If this method is used for anything other than to set a parameter expectation as part of a
514 * If this method is used for anything other than to set a parameter expectation as part of a
534 * If this method is used for anything other than to set a parameter expectation as part of a
554 * If this method is used for anything other than to set a parameter expectation as part of a
574 * If this method is used for anything other than to set a parameter expectation as part of a
594 * If this method is used for anything other than to set a parameter expectation as part of a
614 * If this method is used for anything other than to set a parameter expectation as part of a
634 * If this method is used for anything other than to set a parameter expectation as part of a
654 * If this method is used for anything other than to set a parameter expectation as part of a
674 * If this method is used for anything other than to set a parameter expectation as part of a
694 * If this method is used for anything other than to set a parameter expectation as part of a
714 * If this method is used for anything other than to set a parameter expectation as part of a
734 * If this method is used for anything other than to set a parameter expectation as part of a
754 * If this method is used for anything other than to set a parameter expectation as part of a
774 * If this method is used for anything other than to set a parameter expectation as part of a
794 * If this method is used for anything other than to set a parameter expectation as part of a
814 * If this method is used for anything other than to set a parameter expectation as part of a
834 * If this method is used for anything other than to set a parameter expectation as part of a
854 * If this method is used for anything other than to set a parameter expectation as part of a
874 * If this method is used for anything other than to set a parameter expectation as part of a
894 * If this method is used for anything other than to set a parameter expectation as part of a
914 * If this method is used for anything other than to set a parameter expectation as part of a
934 * If this method is used for anything other than to set a parameter expectation as part of a
954 * If this method is used for anything other than to set a parameter expectation as part of a
974 * If this method is used for anything other than to set a parameter expectation as part of a
997 * If this method is used for anything other than to set a parameter expectation as part of a
1018 * If this method is used for anything other than to set a parameter expectation as part of a
1045 * If this method is used for anything other than to set a parameter expectation as part of a
1048 * @param first the first expectation to test.
1049 * @param second the second expectation to test.
1070 * If this method is used for anything other than to set a parameter expectation as part of a
1073 * @param first the first expectation to test.
1074 * @param second the second expectation to test.
1095 * If this method is used for anything other than to set a parameter expectation as part of a
1098 * @param first the first expectation to test.
1099 * @param second the second expectation to test.
1120 * If this method is used for anything other than to set a parameter expectation as part of a
1123 * @param first the first expectation to test.
1124 * @param second the second expectation to test.
1145 * If this method is used for anything other than to set a parameter expectation as part of a
1148 * @param first the first expectation to test.
1149 * @param second the second expectation to test.
1170 * If this method is used for anything other than to set a parameter expectation as part of a
1173 * @param first the first expectation to test.
1174 * @param second the second expectation to test.
1195 * If this method is used for anything other than to set a parameter expectation as part of a
1198 * @param first the first expectation to test.
1199 * @param second the second expectation to test.
1220 * If this method is used for anything other than to set a parameter expectation as part of a
1223 * @param first the first expectation to test.
1224 * @param second the second expectation to test.
1246 * If this method is used for anything other than to set a parameter expectation as part of a
1249 * @param first the first expectation to test.
1250 * @param second the second expectation to test.
1271 * If this method is used for anything other than to set a parameter expectation as part of a
1274 * @param first the first expectation to test.
1275 * @param second the second expectation to test.
1297 * If this method is used for anything other than to set a parameter expectation as part of a
1300 * @param first the first expectation to test.
1301 * @param second the second expectation to test.
1322 * If this method is used for anything other than to set a parameter expectation as part of a
1325 * @param first the first expectation to test.
1326 * @param second the second expectation to test.
1348 * If this method is used for anything other than to set a parameter expectation as part of a
1351 * @param first the first expectation to test.
1352 * @param second the second expectation to test.
1374 * If this method is used for anything other than to set a parameter expectation as part of a
1377 * @param first the first expectation to test.
1378 * @param second the second expectation to test.
1400 * If this method is used for anything other than to set a parameter expectation as part of a
1403 * @param first the first expectation to test.
1404 * @param second the second expectation to test.
1426 * If this method is used for anything other than to set a parameter expectation as part of a
1429 * @param first the first expectation to test.
1430 * @param second the second expectation to test.
1452 * If this method is used for anything other than to set a parameter expectation as part of a
1455 * @param first the first expectation to test.
1456 * @param second the second expectation to test.
1478 * If this method is used for anything other than to set a parameter expectation as part of a
1481 * @param first the first expectation to test.
1482 * @param second the second expectation to test.
1490 * Expects a {@code boolean} parameter that does not match the provided expectation.
1492 * the provided expectation. Possible expectations for {@code expectation}
1503 * If this method is used for anything other than to set a parameter expectation as part of a
1506 * @param expectation the expectation to test.
1509 public static boolean not(boolean expectation) {
1510 return EasyMock.not(expectation);
1514 * Expects a {@code byte} parameter that does not match the provided expectation.
1516 * the provided expectation. Possible expectations for {@code expectation}
1528 * If this method is used for anything other than to set a parameter expectation as part of a
1531 * @param expectation the expectation to test.
1534 public static byte not(byte expectation) {
1535 return EasyMock.not(expectation);
1539 * Expects a {@code char} parameter that does not match the provided expectation.
1541 * the provided expectation. Possible expectations for {@code expectation}
1552 * If this method is used for anything other than to set a parameter expectation as part of a
1555 * @param expectation the expectation to test.
1558 public static char not(char expectation) {
1559 return EasyMock.not(expectation);
1563 * Expects a {@code double} parameter that does not match the provided expectation.
1565 * the provided expectation. Possible expectations for {@code expectation}
1577 * If this method is used for anything other than to set a parameter expectation as part of a
1580 * @param expectation the expectation to test.
1583 public static double not(double expectation) {
1584 return EasyMock.not(expectation);
1588 * Expects a {@code float} parameter that does not match the provided expectation.
1590 * the provided expectation. Possible expectations for {@code expectation}
1602 * If this method is used for anything other than to set a parameter expectation as part of a
1605 * @param expectation the expectation to test.
1608 public static float not(float expectation) {
1609 return EasyMock.not(expectation);
1613 * Expects a {@code int} parameter that does not match the provided expectation.
1615 * the provided expectation. Possible expectations for {@code expectation}
1627 * If this method is used for anything other than to set a parameter expectation as part of a
1630 * @param expectation the expectation to test.
1633 public static int not(int expectation) {
1634 return EasyMock.not(expectation);
1638 * Expects a {@code long} parameter that does not match the provided expectation.
1640 * the provided expectation. Possible expectations for {@code expectation}
1652 * If this method is used for anything other than to set a parameter expectation as part of a
1655 * @param expectation the expectation to test.
1658 public static long not(long expectation) {
1659 return EasyMock.not(expectation);
1663 * Expects a {@code short} parameter that does not match the provided expectation.
1665 * the provided expectation. Possible expectations for {@code expectation}
1677 * If this method is used for anything other than to set a parameter expectation as part of a
1680 * @param expectation the expectation to test.
1683 public static short not(short expectation) {
1684 return EasyMock.not(expectation);
1688 * Expects an {@code Object} parameter that does not match the given expectation.
1690 * the provided expectation. Possible expectations for {@code expectation}
1702 * If this method is used for anything other than to set a parameter expectation as part of a
1705 * @param expectation the expectation to test.
1708 public static <T> T not(T expectation) {
1709 return EasyMock.not(expectation);
1724 * If this method is used for anything other than to set a parameter expectation as part of a
1747 * If this method is used for anything other than to set a parameter expectation as part of a
1770 * If this method is used for anything other than to set a parameter expectation as part of a
1793 * If this method is used for anything other than to set a parameter expectation as part of a
1816 * If this method is used for anything other than to set a parameter expectation as part of a
1839 * If this method is used for anything other than to set a parameter expectation as part of a
1862 * If this method is used for anything other than to set a parameter expectation as part of a
1885 * If this method is used for anything other than to set a parameter expectation as part of a
1908 * If this method is used for anything other than to set a parameter expectation as part of a
1930 * If this method is used for anything other than to set a parameter expectation as part of a
1952 * If this method is used for anything other than to set a parameter expectation as part of a
1974 * If this method is used for anything other than to set a parameter expectation as part of a
1996 * If this method is used for anything other than to set a parameter expectation as part of a
2018 * If this method is used for anything other than to set a parameter expectation as part of a
2040 * If this method is used for anything other than to set a parameter expectation as part of a
2062 * If this method is used for anything other than to set a parameter expectation as part of a
2084 * If this method is used for anything other than to set a parameter expectation as part of a
2106 * If this method is used for anything other than to set a parameter expectation as part of a
2121 * If this method is used for anything other than to set a parameter expectation as part of a
2134 * If this method is used for anything other than to set a parameter expectation as part of a
2150 * If this method is used for anything other than to set a parameter expectation as part of a
2169 * If this method is used for anything other than to set a parameter expectation as part of a
2185 * If this method is used for anything other than to set a parameter expectation as part of a
2202 * If this method is used for anything other than to set a parameter expectation as part of a
2232 * If this method is used for anything other than to set a parameter expectation as part of a
2236 * @param delta the acceptable level of inaccuracy before this expectation fails.
2262 * If this method is used for anything other than to set a parameter expectation as part of a
2266 * @param delta the acceptable level of inaccuracy before this expectation fails.
2275 * value. This expectation will fail unless the incoming parameter is {@code ==} to the
2278 * If this method is used for anything other than to set a parameter expectation as part of a
2293 * If this method is used for anything other than to set a parameter expectation as part of a
2329 * If this method is used for anything other than to set a parameter expectation as part of a
2599 * {@link org.easymock.IAnswer} to an expectation by using the