Searched refs:withMocks (Results 1 – 3 of 3) sorted by relevance
49 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()
21 .withMocks(mocks) in injectMocksOnFields()
70 public OngoingMockInjection withMocks(Set<Object> mocks) { in withMocks() method in MockInjection.OngoingMockInjection