public void new_class_with_non_object_base_class() throws Exception
{
ClassFactory factory = new ClassFactoryImpl();
String name = ClassFabUtils.generateClassName(Runnable.class);
ClassFab cf = factory.newClass(name, BaseClass.class);
cf.addInterface(Runnable.class);
Class newClass = cf.createClass();
Runnable instance = (Runnable) newClass.newInstance();