public void testModelSubclass() throws Exception {
DefDescriptor<ModelDef> javaModelDefDesc = DefDescriptorImpl.getInstance(
"java://org.auraframework.impl.java.model.TestModelSubclass", ModelDef.class);
ModelDef def = javaModelDefDesc.getDef();
assertNotNull(def);
Model model = def.newInstance();
ValueDef vd = def.getMemberByName("nextThing");
PropertyReferenceImpl refNextThing = new PropertyReferenceImpl("nextThing", new Location("test", 0));
assertNotNull("Unable to find value def for 'nextThing'", vd);
assertEquals("nextThing", model.getValue(refNextThing));