Searched refs:validateMockedType (Results 1 – 3 of 3) sorted by relevance
39 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()
40 public void validateMockedType(Class<?> classToMock, Object spiedInstance) { in validateMockedType() method in MockCreationValidator
170 validator.validateMockedType(typeToMock, source.getSpiedInstance()); in validatedSettings()