// Query<DebugRecord> query = builder.newQuery( uow );
// assertEquals( 0, query.count() );
Some service = (Some) module.findService( Some.class ).get();
String message = service.doSomething( "World!", 10 );
assertEquals( message, "Hello!" );
EntityStore es = (EntityStore) module.findService( EntityStore.class ).get();
final String[] result = new String[1];
es.entityStates( module ).transferTo( Transforms.map( new Function<EntityState, EntityState>()
{
public EntityState map( EntityState entityState )
{
if( ServiceDebugRecordEntity.class.getName()
.equals( first(entityState.entityDescriptor().types()).getName() ) )