Searched refs:expectedClass (Results 1 – 2 of 2) sorted by relevance
65 public static void assertInstanceOf(Class<?> expectedClass, Object actual) { in assertInstanceOf() argument66 …True(actual.getClass().getName() + " is not instance of :" + expectedClass.getName(), expectedClass in assertInstanceOf()
1096 final Class<?> expectedClass = constructorParameterClasses.get(type); in newInstance() local1097 if (expectedClass == null) { in newInstance()1101 if (!expectedClass.isAssignableFrom(constructorParameter.getClass())) { in newInstance()1103 + expectedClass.getName() + " but was " in newInstance()1106 return newInstanceWithParameter(constructorParameter, expectedClass); in newInstance()