@Test
public void testBasicUriGenerationWithAliases() {

    GetAliases getAliases = new GetAliases.Builder().addIndex("twitter").addAlias("alias").build();
    assertEquals("GET", getAliases.getRestMethodName());
    assertEquals("twitter/_alias/alias", getAliases.getURI(ElasticsearchVersion.UNKNOWN));
}