
package com.exedio.cope.lib.hierarchy;

import com.exedio.cope.lib.DatabaseLibTest;
import com.exedio.cope.lib.IntegrityViolationException;

public class HierarchyTest extends DatabaseLibTest
{
	public void testHierarchy()
			throws IntegrityViolationException
	{
		final Super superItem = new FirstSub(0);
		superItem.delete();
	}

}

@@ -270,19 +270,22 @@
 nal 
-Super super
+FirstSub first
 Item
@@ -310,13 +310,116 @@
 ;%0A%09%09
-super
+%0A%09%09assertEquals(0, firstItem.getSuperInt());%0A%09%09assertEquals(null, firstItem.getFirstSubString());%0A%09%09%0A%09%09first
 Item

test hierarchical getter