Home
last modified time | relevance | path

Searched refs:SummerException (Results 1 – 1 of 1) sorted by relevance

/external/guice/extensions/testlib/test/com/google/inject/testing/throwingproviders/
DCheckedProviderSubjectTest.java48 private static final class SummerException extends RuntimeException {} class in CheckedProviderSubjectTest
53 CheckedProviders.throwing(StringCheckedProvider.class, SummerException.class); in providedValue_throws_expectFailure()
57 getThrowingProviderName(SummerException.class.getName())); in providedValue_throws_expectFailure()
61 assertThat(expected).hasCauseThat().isInstanceOf(SummerException.class); in providedValue_throws_expectFailure()
68 CheckedProviders.throwing(StringCheckedProvider.class, SummerException.class); in thrownException_threwExpected_expectSuccess()
70 assertThat(provider).thrownException().isInstanceOf(SummerException.class); in thrownException_threwExpected_expectSuccess()
75 Class<? extends Throwable> expected = SummerException.class; in thrownException_threwUnexpected_expectFailure()
85 SummerException.class.getName(), in thrownException_threwUnexpected_expectFailure()