@Test
public void testBuildRestClient() {

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