{
UnitOfWork uow = module.newUnitOfWork();
try
{
SomeWithAssociations some = buildSomeWithAssociation( uow.newEntity( AnEntity.class ) );
OtherWithAssociations other = buildOtherWithAssociation( uow.newEntity( AnEntity.class ) );
assertThat( "Association not equal",
some.anEntity(),
not( equalTo( other.anEntity() ) ) );
assertThat( "Association hashcode not equal",