Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockito/internal/configuration/
DMockInjectionTest.java55 ….onField(field("withConstructor"), this).withMocks(oneSetMock()).tryConstructorInjection().apply(); in can_try_constructor_injection()
62 …field("withoutConstructor"), this).withMocks(otherKindOfMocks()).tryConstructorInjection().apply(); in should_not_fail_if_constructor_injection_is_not_possible()
/external/mockito/src/main/java/org/mockito/internal/configuration/
DDefaultInjectionEngine.java22 .tryConstructorInjection() in injectMocksOnFields()
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
DMockInjection.java75 public OngoingMockInjection tryConstructorInjection() { in tryConstructorInjection() method in MockInjection.OngoingMockInjection