{
boolean passed = false;
try
{
ObjectStore store = new ObjectStore(ArjunaNames.Implementation_ObjectStore_ShadowingStore());
OutputObjectState state = new OutputObjectState();
Uid u = new Uid();
logInformation("Uid is "+u);
if (store.write_committed(u, "/StateManager/LockManager/foo", state))
{
logInformation("written ok");
passed = true;
}
else
logInformation("write error");
if (passed)
{
passed = false;
/*
* Now try to read.
*/
InputObjectState inputState = store.read_committed(u, "/StateManager/LockManager/foo");
if (inputState != null)
{
logInformation("read ok");