@Test
public void testBasicUriGenerationWithAlias() {

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