.setMetaInfo( new ServiceName( "Foo" ) );
module.services( StringService.class, LongService.class );
module.objects( ServiceUser.class );
ModuleAssembly module2 = module.layer().module( "Other module" );
ServiceDeclaration service2Decl = module2.services( MyServiceComposite.class );
service2Decl.identifiedBy( "Bar" ).setMetaInfo( new ServiceName( "Bar" ) ).visibleIn( layer );
ServiceDeclaration service3Decl = module2.services( MyServiceComposite2.class );
service3Decl.identifiedBy( "Boo" ).setMetaInfo( new ServiceName( "Boo" ) );
}
};
testInjection( assembly );
}