Searched refs:getMockCreationSettings (Results 1 – 7 of 7) sorted by relevance
105 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()
48 assertTrue(mockingDetails(lenientMock).getMockCreationSettings().isLenient()); in knows_if_mock_is_lenient()49 assertFalse(mockingDetails(strictStubsMock).getMockCreationSettings().isLenient()); in knows_if_mock_is_lenient()
66 MockCreationSettings<?> getMockCreationSettings(); in getMockCreationSettings() method
187 … 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()
51 public MockCreationSettings<?> getMockCreationSettings() { in getMockCreationSettings() method in DefaultMockingDetails
49 … MockCreationSettings originalMockSettings = this.originalMockingDetails.getMockCreationSettings(); in setMock()
92 assertTrue(Mockito.mockingDetails(stubOnly).getMockCreationSettings().isStubOnly()); in shouldInitMocksWithGivenSettings()