Searched refs:expectedNanos (Results 1 – 1 of 1) sorted by relevance
47 long expectedNanos = unit.toNanos(expected); in assertElapsedTimeIsMoreThan() local49 if (elapsedNanos <= expectedNanos) in assertElapsedTimeIsMoreThan()50 … fail("Expected that more than %dms elapsed! But was: %dms", expectedNanos, elapsedNanos); in assertElapsedTimeIsMoreThan()55 long expectedNanos = unit.toNanos(expected); in assertElapsedTimeIsLessThan() local57 if (elapsedNanos >= expectedNanos) in assertElapsedTimeIsLessThan()58 … fail("Expected that less than %dms elapsed! But was: %dms", expectedNanos, elapsedNanos); in assertElapsedTimeIsLessThan()67 private static void fail(String message, long expectedNanos, long elapsedNanos) { in fail() argument68 …throw new MockitoAssertionError(format(message, NANOSECONDS.toMillis(expectedNanos), NANOSECONDS.t… in fail()