@Test
public void testRestTemplate() {

    when(elasticSearchProperties.getUrls()).thenReturn("localhost:8000");
    when(elasticSearchProperties.getConfig()).thenReturn(config);
    val elasticsearchRestTemplate = elasticSearchConfig.elasticsearchTemplate();
    assertNotNull(elasticsearchRestTemplate);
}