new TestClass(method.getDeclaringClass()))
.potentialsForNextUnassigned();
}
public static Result runTheoryClass(Class<?> testClass) throws InitializationError {
Runner theoryRunner = new Theories(testClass);
Request request = Request.runner(theoryRunner);
return new JUnitCore().run(request);
}