Searched refs:expectedCause (Results 1 – 5 of 5) sorted by relevance
64 String expectedCause = in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious()72 assertThat(e).hasMessageContaining(expectedCause); in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious()156 String expectedCause = in shouldPrintTooManyInvocations()161 assertThat(e).hasMessageContaining(expectedCause); in shouldPrintTooManyInvocations()188 String expectedCause = in shouldPrintTooLittleInvocations()194 assertThat(e).hasMessageContaining(expectedCause); in shouldPrintTooLittleInvocations()
177 String expectedCause = in should_print_first_unexpected_invocation()182 assertThat(e).hasMessageContaining(expectedCause); in should_print_first_unexpected_invocation()203 String expectedCause = in should_print_first_unexpected_invocation_when_verifying_zero_interactions()209 assertThat(e).hasMessageContaining(expectedCause); in should_print_first_unexpected_invocation_when_verifying_zero_interactions()
76 public void assertException(Throwable expectedCause) throws Exception { in assertException() argument84 Assert.assertSame(expectedCause, expected.getCause()); in assertException()
225 public void expectCause(Matcher<? extends Throwable> expectedCause) { in expectCause() argument226 expect(hasCause(expectedCause)); in expectCause()
405 private static void assertExecutionException(Future<?> future, Exception expectedCause) in assertExecutionException() argument411 assertSame(expectedCause, e.getCause()); in assertExecutionException()