@Test
public void equals() {

    UpdateByQuery deleteUserKramer = new UpdateByQuery.Builder("{\"user\":\"kramer\"}")
            .addIndex("twitter")
            .addIndex("searchbox")
            .addType("tweet")
            .addType("jest")
            .build();
    UpdateByQuery deleteUserKramerDuplicate = new UpdateByQuery.Builder("{\"user\":\"kramer\"}")
            .addIndex("twitter")
            .addIndex("searchbox")
            .addType("tweet")
            .addType("jest")
            .build();
    assertEquals(deleteUserKramer, deleteUserKramerDuplicate);
}