@Test
public void deleteDocument() {

    Delete delete = new Delete.Builder("1")
            .index("twitter")
            .type("tweet")
            .build();
    assertEquals("DELETE", delete.getRestMethodName());
    assertEquals("twitter/tweet/1", delete.getURI(ElasticsearchVersion.UNKNOWN));
}