### Question:
PipelineConfigReader { public ConfigurationEntry readConfiguration(String config, ObjectMapper mapper) { try { PipelineConfiguration configuration = mapper.readValue(config, PipelineConfiguration.class); return new ConfigurationEntry(configuration); } catch (IOException e) { LOGGER.debug(e.getMessage(), e); throw new ConfigurationReadingException(config, e); } }  ConfigurationEntry readConfiguration(String config, ObjectMapper mapper); List<ConfigurationEntry> readConfigurations(String config, ObjectMapper mapper);  }### Answer:
@Test public void readConfiguration() throws Exception { List<ConfigurationEntry> configurations = new PipelineConfigReader().readConfigurations(OBJECT_JSON, MAPPER); assertEquals(1, configurations.size()); configurations.forEach(conf -> assertEquals("default", conf.getName())); }