Domain cars = uow.newEntity( Domain.class );
setName( cars, "Cars" );
cars.description().set( "Cars" );
City kualaLumpur = uow.newEntity( City.class, "kualalumpur" );
setName( kualaLumpur, "Kuala Lumpur" );
kualaLumpur.country().set( "Malaysia" );
kualaLumpur.county().set( "Some Jaya" );
City penang = uow.newEntity( City.class, "penang" );
setName( penang, "Penang" );
penang.country().set( "Malaysia" );
penang.county().set( "Some Other Jaya" );
Female vivianSmith = uow.newEntity( FemaleEntity.class );
setName( vivianSmith, "Vivian Smith" );
vivianSmith.placeOfBirth().set( kualaLumpur );
vivianSmith.yearOfBirth().set( 1992 );