Home
last modified time | relevance | path

Searched refs:validateMockedType (Results 1 – 3 of 3) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/util/
DMockCreationValidatorTest.java39 validator.validateMockedType(List.class, new ArrayList()); in should_not_allow_inconsistent_types()
46 validator.validateMockedType(ArrayList.class, new ArrayList()); in should_allow_only_consistent_types()
53 validator.validateMockedType(null, new ArrayList()); in should_validation_be_safe_when_nulls_passed()
55 validator.validateMockedType(ArrayList.class, null); in should_validation_be_safe_when_nulls_passed()
/external/mockito/src/main/java/org/mockito/internal/util/
DMockCreationValidator.java40 public void validateMockedType(Class<?> classToMock, Object spiedInstance) { in validateMockedType() method in MockCreationValidator
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java240 validator.validateMockedType(typeToMock, source.getSpiedInstance()); in validatedSettings()