assertEquals( "Can do anything", authenticationModule.getUser().getRole().getDescription() );
}
@Test
public void testMasterFileConfigurationListener() throws Exception {
PropertyConfigurator configurator = new PropertyConfigurator( new MasterFileLoadingLogic( "etc/master-configuration.properties", true ) );
configurator.registerConfigurationListener( DatabaseConfiguration.class, this );
configurator.registerConfigurationListener( AuthenticationModule.class, this );
assertEquals( "javax.sql", databaseConfiguration.getDriverName() );