@Test
public void buildRestUrlWithValidParameters() {

    String expected = "twitter/tweet/1";
    final Delete build = new Delete.Builder("1").index("twitter").type("tweet").build();
    String actual = build.buildURI(ElasticsearchVersion.UNKNOWN);
    assertEquals(expected, actual);
}