Lines Matching defs:withSettings
726 * List serializableMock = mock(List.class, withSettings().serializable());
737 * List<Object> spy = mock(ArrayList.class, withSettings()
1120 return mock(classToMock, withSettings().defaultAnswer(RETURNS_DEFAULTS));
1139 return mock(classToMock, withSettings()
1193 return mock(classToMock, withSettings().defaultAnswer(new AnswerReturnValuesAdapter(returnValues)));
1216 return mock(classToMock, withSettings().defaultAnswer(defaultAnswer));
1226 * Listener mock = mock(Listener.class, withSettings()
1234 * See also {@link Mockito#withSettings()}
1322 return MOCKITO_CORE.mock((Class<T>) object.getClass(), withSettings()
2141 * Foo mock = mock(Foo.class, withSettings()
2146 * Foo mock = mock(Foo.class, withSettings()
2160 public static MockSettings withSettings() {