public void run (String[] args)
{
try
{
AtomicObject obj = new AtomicObject();
Uid objRef = obj.get_uid();
AtomicAction A = new AtomicAction();
A.begin();
obj.set(1234);
A.commit();
AtomicObject recObj = new AtomicObject(objRef);
AtomicAction B = new AtomicAction();
B.begin();
if (recObj.get() == 1234)
{
System.out.print("Passed.");
assertSuccess();
}