### Question:
ExporterConfig { public static ExporterConfig loadConfig(InputStream inputStream) { try { return loadConfig(asMap(new Yaml().load(inputStream))); } catch (ScannerException e) { throw new YamlParserException(e); } } private  ExporterConfig(Map<String, Object> yaml); static ExporterConfig createEmptyConfig(); static ExporterConfig loadConfig(InputStream inputStream); Map<String, Object> scrapeMetrics(MBeanSelector selector, JsonObject response); MBeanSelector[] getEffectiveQueries(); MBeanSelector[] getQueries(); static ExporterConfig loadConfig(Map<String, Object> yamlConfig); QuerySyncConfiguration getQuerySyncConfiguration(); Integer getRestPort(); void append(ExporterConfig config2); void replace(ExporterConfig config2); @Override String toString();  }### Answer:
@Test public void whenYamlConfigEmpty_returnNonNullConfiguration() { assertThat(ExporterConfig.loadConfig(NULL_MAP), notNullValue()); }