// END SNIPPET: assembly
ModuleAssembly confModule = module.layer().module( "confModule" );
new EntityTestAssembler().visibleIn( Visibility.layer ).assemble( confModule );
// START SNIPPET: assembly
new EhCacheAssembler().
withConfig( confModule, Visibility.layer ).
assemble( module );
}