Home
last modified time | relevance | path

Searched refs:getMockCreationSettings (Results 1 – 6 of 6) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/util/
DDefaultMockingDetailsTest.java105 assertEquals(Foo.class, mockingDetails(foo).getMockCreationSettings().getTypeToMock()); in provides_mock_creation_settings()
106 assertEquals(Bar.class, mockingDetails(bar).getMockCreationSettings().getTypeToMock()); in provides_mock_creation_settings()
107 assertEquals(0, mockingDetails(mock).getMockCreationSettings().getExtraInterfaces().size()); in provides_mock_creation_settings()
112 mockingDetails(null).getMockCreationSettings(); in fails_when_getting_creation_settings_for_incorrect_input()
/external/mockito/src/test/java/org/mockitousage/session/
DMockitoSessionTest.java185 … assertEquals("mock", mockingDetails(mock).getMockCreationSettings().getMockName().toString()); in manual_mock_preserves_its_settings()
186 …assertEquals("manual mock", mockingDetails(mock2).getMockCreationSettings().getMockName().toString… in manual_mock_preserves_its_settings()
/external/mockito/src/main/java/org/mockito/
DMockingDetails.java66 MockCreationSettings<?> getMockCreationSettings(); in getMockCreationSettings() method
/external/mockito/src/main/java/org/mockito/internal/util/
DDefaultMockingDetails.java54 public MockCreationSettings<?> getMockCreationSettings() { in getMockCreationSettings() method in DefaultMockingDetails
/external/mockito/src/main/java/org/mockito/internal/listeners/
DVerificationStartedNotifier.java49 … MockCreationSettings originalMockSettings = this.originalMockingDetails.getMockCreationSettings(); in setMock()
/external/mockito/src/test/java/org/mockitousage/annotation/
DAnnotationsTest.java92 assertTrue(Mockito.mockingDetails(stubOnly).getMockCreationSettings().isStubOnly()); in shouldInitMocksWithGivenSettings()