public void Check_CreateNewIndex_ReturnOk() { var new_index = "test_new_index"; if (_elasticSearch.CheckIndecesStatus(new_index)) { _elasticSearch.DeleteIndex(new_index); } var result = _elasticSearch.CreateNewIndex(new_index); Assert.True(result); }