public void testSharedCaching()
{
TestCache tc = new TestCache();
tc.name = "Fred";
ObjectStore os = ObjectStore.Factory.create();
ObjectStoreSession oss1 = os.beginSession();
Key key = oss1.store(tc).now();
ObjectStoreSession oss2 = os.beginSession();
TestCache tc2 = (TestCache)oss2.load(key).now();
assertTrue("same instance", tc == tc2);
}