}
@Test
public void testSimpleStoreLoad()
{
ObjectStore osf = ObjectStore.Factory.create();
ObjectStoreSession os = osf.beginSession();
Person p1 = new Person();
p1.firstName = "Fred";
p1.lastName = "Flintstone";
p1.shoeSize = 12L;
Key key = os.store(p1).id(33L).now();
assertEquals(33L, key.getId());
ObjectStoreSession os2 = osf.beginSession();
Person p2 = (Person) os2.load(Person.class).id(33L).now();
assertTrue(p2 != p1);
assertEquals(p1.firstName, p2.firstName);
assertEquals(p1.lastName, p2.lastName);