@Test
public void testBasicUrlGeneration() {

    CloseIndex closeIndex = new CloseIndex.Builder("twitter").build();
    assertEquals("POST", closeIndex.getRestMethodName());
    assertEquals("twitter/_close", closeIndex.getURI(ElasticsearchVersion.UNKNOWN));
}