public void testGetParentStoredClass() { StoredClass itemClass = itemStoredClass(); StoredClass parentStoredClass = itemClass.getParentStoredClass(); Assert.areEqual(reflector().forClass(ItemParent.class).getName(), parentStoredClass.getName()); Assert.areEqual(parentStoredClass, db().storedClass(ItemParent.class)); }
public void testGetName() { StoredClass itemClass = itemStoredClass(); Assert.areEqual(reflector().forClass(Item.class).getName(), itemClass.getName()); }