@Test
public void testBasicUriGeneration() {

    Flush flush = new Flush.Builder().addIndex("twitter").addIndex("myspace").build();
    assertEquals("POST", flush.getRestMethodName());
    assertEquals("twitter%2Cmyspace/_flush", flush.getURI(ElasticsearchVersion.UNKNOWN));
}