}
}
public void testCmrInvalidation() throws Exception
{
Facade facade = getFacadeHome().create();
try
{
facade.setup();
Long pk = new Long(1);
String aName = facade.readRelatedAFirstName("CROLocal", pk);
assertEquals("Ataka", aName);
aName = facade.readRelatedAFirstName("CRWLocal", pk);
assertEquals("Ataka", aName);
facade.removeA("ARWLocal", new Long(2));
aName = facade.readRelatedAFirstName("CROLocal", pk);
assertNull(aName);
aName = facade.readRelatedAFirstName("CRWLocal", pk);
assertNull(aName);
}
finally
{
facade.tearDown();
}
}