
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 FirstSub firstItem = new FirstSub(0);
		
		assertEquals(0, firstItem.getSuperInt());
		assertEquals(null, firstItem.getFirstSubString());
		
		firstItem.delete();
	}

}

@@ -306,19 +306,16 @@
 b(0);%0A%09%09
-%0A%09%09
 assertEq
@@ -320,16 +320,144 @@
 Equals(0
+, firstItem.getSuperInt());%0A%09%09assertEquals(null, firstItem.getFirstSubString());%0A%09%09%0A%09%09firstItem.setSuperInt(2);%0A%09%09assertEquals(2
 , firstI

test hierarchical setter