public void partitionObjectStoreDoesNotCollide() throws Exception
{
ObjectStore os = objectStoreFactory.createObjectStore("myOs");
ObjectStore os2 = objectStoreFactory.createObjectStore("myOs2");
os.store(OBJECT_KEY, OBJECT_KEY_VALUE_1);
os2.store(OBJECT_KEY, OBJECT_KEY_VALUE_2);
assertThat(os.contains(OBJECT_KEY), is(true));
assertThat((String) os.retrieve(OBJECT_KEY), is(OBJECT_KEY_VALUE_1));
assertThat(os2.contains(OBJECT_KEY),is(true));
assertThat((String) os2.retrieve(OBJECT_KEY), is(OBJECT_KEY_VALUE_2));
assertThat((String) os.remove(OBJECT_KEY), is(OBJECT_KEY_VALUE_1));