@Test
public void testBasicUriGenerationWithMultipleAliases() {

    GetAliases getAliases = new GetAliases.Builder().addIndex("twitter").addAliases(Arrays.asList(new String[]{"alias1", "alias2"})).build();
    assertEquals("GET", getAliases.getRestMethodName());
    assertEquals("twitter/_alias/alias1,alias2", getAliases.getURI(ElasticsearchVersion.UNKNOWN));
}