Home
last modified time | relevance | path

Searched refs:getMockCreationSettings (Results 1 – 7 of 7) 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/strictness/
DStrictnessPerMockTest.java48 assertTrue(mockingDetails(lenientMock).getMockCreationSettings().isLenient()); in knows_if_mock_is_lenient()
49 assertFalse(mockingDetails(strictStubsMock).getMockCreationSettings().isLenient()); in knows_if_mock_is_lenient()
/external/mockito/src/main/java/org/mockito/
DMockingDetails.java66 MockCreationSettings<?> getMockCreationSettings(); in getMockCreationSettings() method
/external/mockito/src/test/java/org/mockitousage/session/
DMockitoSessionTest.java187 … assertEquals("mock", mockingDetails(mock).getMockCreationSettings().getMockName().toString()); in manual_mock_preserves_its_settings()
188 …assertEquals("manual mock", mockingDetails(mock2).getMockCreationSettings().getMockName().toString… in manual_mock_preserves_its_settings()
/external/mockito/src/main/java/org/mockito/internal/util/
DDefaultMockingDetails.java51 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()