public void testShorthandReturnValues()
throws Exception
{
DefaultConfigurationBuilder builder = new DefaultConfigurationBuilder();
ConfigurableRoleManager roles = new ConfigurableRoleManager( null, this.getClass().getClassLoader() );
roles.enableLogging( new ConsoleLogger( ConsoleLogger.LEVEL_INFO ) );
roles.configure( builder.build( this.getClass().getClassLoader()
.getResourceAsStream( "org/apache/avalon/fortress/impl/role/test/ConfigManager.roles" ) ) );
checkRole( roles,
"component1",