ConfigurationInitializer { @PostConstruct void afterPropertiesSet() throws Exception { propertyLoader.loadProperties(); propertyLoader.loadValidationProperties(); validator.validateProperties(); loadProperties(); fileBasedStubConfigReader.readStubConfiguration(); wilmaAdminHostsFileParser.parseFile(); }    }
@Test public final void testAfterPropertiesSetShouldLoadValidationProperties() throws Exception { underTest.afterPropertiesSet(); verify(propertyLoader).loadValidationProperties(); verify(validator).validateProperties(); }
@Test public final void testAfterPropertiesSetShouldLoadReadStubConfig() throws Exception { underTest.afterPropertiesSet(); verify(fileBasedStubConfigReader).readStubConfiguration(); }
@Test public final void testAfterPropertiesSetShouldParseWilmaAdminHosts() throws Exception { underTest.afterPropertiesSet(); verify(wilmaAdminHostsFileParser).parseFile(); }