Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockito/internal/configuration/
DMockInjectionTest.java49 MockInjection.onField(field("withConstructor"), this).withMocks(null); in should_not_allow_null_on_mocks()
55 …MockInjection.onField(field("withConstructor"), this).withMocks(oneSetMock()).tryConstructorInject… in can_try_constructor_injection()
62 …MockInjection.onField(field("withoutConstructor"), this).withMocks(otherKindOfMocks()).tryConstruc… in should_not_fail_if_constructor_injection_is_not_possible()
69 …MockInjection.onField(field("withoutConstructor"), this).withMocks(oneSetMock()).tryPropertyOrFiel… in can_try_property_or_setter_injection()
76 …MockInjection.onField(field("withoutConstructor"), this).withMocks(otherKindOfMocks()).tryProperty… in should_not_fail_if_property_or_field_injection_is_not_possible()
/external/mockito/src/main/java/org/mockito/internal/configuration/
DDefaultInjectionEngine.java21 .withMocks(mocks) in injectMocksOnFields()
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
DMockInjection.java70 public OngoingMockInjection withMocks(Set<Object> mocks) { in withMocks() method in MockInjection.OngoingMockInjection