@Test
public void equals() {

    Object source = new Object();
    Index index1 = new Index.Builder(source).index("twitter").type("tweet").id("1").build();
    Index index1Duplicate = new Index.Builder(source).index("twitter").type("tweet").id("1").build();
    assertEquals(index1, index1Duplicate);
}