Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DParameterizedConstructorInstantiatorTest.java40 private ThrowingConstructor withThrowingConstructor;
132 private static class ThrowingConstructor { class in ParameterizedConstructorInstantiatorTest
133 … public ThrowingConstructor(Observer observer) throws IOException { throw new IOException(); } in ThrowingConstructor() method in ParameterizedConstructorInstantiatorTest.ThrowingConstructor
/external/mockito/src/test/java/org/mockitousage/annotation/
DMockInjectionUsingSetterOrPropertyTest.java132 @InjectMocks ThrowingConstructor failingConstructor; in should_report_nicely()
143 static class ThrowingConstructor { class in MockInjectionUsingSetterOrPropertyTest
144 ThrowingConstructor() { throw new RuntimeException("aha"); } in ThrowingConstructor() method in MockInjectionUsingSetterOrPropertyTest.ThrowingConstructor
DSpyAnnotationTest.java110 ThrowingConstructor throwingConstructor; in should_report_when_constructor_is_explosive()
282 static class ThrowingConstructor { class in SpyAnnotationTest
283 ThrowingConstructor() { in ThrowingConstructor() method in SpyAnnotationTest.ThrowingConstructor