String someOtherFooIdentity = ( (Identity) someOtherFoo ).identity().get();
String basicFooIdentity = ( (Identity) basicFoo ).identity().get();
uow.complete();
uow = module.newUnitOfWork();
assertEquals( CATHEDRAL, uow.get( SomeOtherFoo.class, someOtherFooIdentity ).bar() );
assertEquals( BAZAR, uow.get( BasicFoo.class, basicFooIdentity ).bar() );
assertEquals( CATHEDRAL, uow.get( Foo.class, someOtherFooIdentity ).bar() );
assertEquals( BAZAR, uow.get( Foo.class, basicFooIdentity ).bar() );