@Test(expected = ConstructorException.class) public void testConfigurationAttributeMustImplementAttribute() throws Exception { File configFile = super.getFile(ConfigurationFactoryTest.class, "configWithProcessorAsAttribute_bad_config.yaml"); configurationFactory.getConfig(configFile); }
@VisibleForTesting public final Configuration getConfig(final File configFile) throws IOException { try (FileInputStream in = new FileInputStream(configFile)) { return getConfig(configFile, in); } }
ConfigurationFactory { @VisibleForTesting public final Configuration getConfig(final File configFile) throws IOException { try (FileInputStream in = new FileInputStream(configFile)) { return getConfig(configFile, in); } } }
ConfigurationFactory { @VisibleForTesting public final Configuration getConfig(final File configFile) throws IOException { try (FileInputStream in = new FileInputStream(configFile)) { return getConfig(configFile, in); } }  }
ConfigurationFactory { @VisibleForTesting public final Configuration getConfig(final File configFile) throws IOException { try (FileInputStream in = new FileInputStream(configFile)) { return getConfig(configFile, in); } }  @PostConstruct final void init(); @VisibleForTesting final Configuration getConfig(final File configFile); final Configuration getConfig(final File configFile, final InputStream configData); final void setDoValidation(final boolean doValidation); }
ConfigurationFactory { @VisibleForTesting public final Configuration getConfig(final File configFile) throws IOException { try (FileInputStream in = new FileInputStream(configFile)) { return getConfig(configFile, in); } }  @PostConstruct final void init(); @VisibleForTesting final Configuration getConfig(final File configFile); final Configuration getConfig(final File configFile, final InputStream configData); final void setDoValidation(final boolean doValidation);  }