HomeSort by relevance Sort by last modified time
    Searched defs:mockSettings (Results 1 - 5 of 5) sorted by null

  /external/mockito/src/org/mockito/internal/configuration/
MockAnnotationProcessor.java 8 import org.mockito.MockSettings;
18 MockSettings mockSettings = Mockito.withSettings();
20 mockSettings.extraInterfaces(annotation.extraInterfaces());
23 mockSettings.name(field.getName());
25 mockSettings.name(annotation.name());
28 mockSettings.serializable();
32 mockSettings.defaultAnswer(annotation.answer().get());
33 return Mockito.mock(field.getType(), mockSettings);
  /external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
ReturnsDeepStubs.java 7 import org.mockito.MockSettings;
91 private MockSettings withSettingsUsing(GenericMetadataSupport returnTypeGenericMetadata) {
92 MockSettings mockSettings =
97 return mockSettings
122 CreationSettings mockSettings = (CreationSettings) new MockUtil().getMockHandler(mock).getMockSettings();
123 return GenericMetadataSupport.inferFrom(mockSettings.getTypeToMock());
  /external/mockito/src/org/mockito/internal/handler/
MockHandlerImpl.java 38 private final MockCreationSettings mockSettings;
40 public MockHandlerImpl(MockCreationSettings mockSettings) {
41 this.mockSettings = mockSettings;
44 this.invocationContainerImpl = new InvocationContainerImpl(mockingProgress, mockSettings);
93 Object ret = mockSettings.getDefaultAnswer().answer(invocation);
110 return mockSettings;
123 if (mockSettings.isStubOnly()) {
  /external/robolectric/lib/test/
mockito-core-1.8.5.jar 
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 

Completed in 27 milliseconds