@Test
public void getDocumentWithMultipleIds() throws JSONException {

    MultiGet get = new MultiGet.Builder.ById("twitter", "tweet").addId(Arrays.asList("1", "2", "3")).build();
    assertEquals("POST", get.getRestMethodName());
    assertEquals("twitter/tweet/_mget", get.getURI(ElasticsearchVersion.UNKNOWN));
    JSONAssert.assertEquals("{\"ids\":[\"1\",\"2\",\"3\"]}", get.getData(new Gson()), false);
}