protected void validate() throws InitializationError {
if (!TestCase.class.isAssignableFrom(testClass.getJavaClass())) {
MethodValidator methodValidator = new PowerMockJUnit4MethodValidator(testClass);
methodValidator.validateMethodsForDefaultRunner();
methodValidator.assertValid();
}
}
/**
* {@inheritDoc}