cars.description().set( "Cars" );
cars = domainBuilder.newInstance();
NameableAssert.trace( cars );
}
City kualaLumpur;
{
EntityBuilder<City> cityBuilder = unitOfWork.newEntityBuilder( City.class );
kualaLumpur = cityBuilder.instance();
kualaLumpur.name().set( "Kuala Lumpur" );
kualaLumpur.country().set( "Malaysia" );
kualaLumpur.county().set( "Some Jaya" );
kualaLumpur = cityBuilder.newInstance();
NameableAssert.trace( kualaLumpur );
}
City penang;
{
EntityBuilder<City> cityBuilder = unitOfWork.newEntityBuilder( City.class );
penang = cityBuilder.instance();
penang.name().set( "Penang" );
penang.country().set( "Malaysia" );
penang.county().set( "Some Other Jaya" );
penang = cityBuilder.newInstance();
NameableAssert.trace( penang );
}
Account annsAccount;