@Test
public void testBasicUriGenerationWithAliasAndIndex() {

    AliasExists aliasExists = new AliasExists.Builder().addIndex("indexName").alias("aliasName").build();
    assertEquals("HEAD", aliasExists.getRestMethodName());
    assertEquals("indexName/_alias/aliasName", aliasExists.getURI(ElasticsearchVersion.UNKNOWN));
}