@Test
public void getConfig() throws IOException {

    EsReaderConfiguration config = loadConfig(EsReaderConfiguration.class, "garmadon-config.yml");
    assertEquals("elasticsearch", config.getElasticsearch().getHost());
    assertEquals(500, config.getElasticsearch().getBulkActions());
    assertEquals(10, config.getElasticsearch().getBulkSizeMB());
}