@Test
public void getMultipleDocs() throws JSONException {

    MultiGet get = new MultiGet.Builder.ByDoc(Arrays.asList(doc1, doc2, doc3)).build();
    assertEquals("POST", get.getRestMethodName());
    assertEquals("/_mget", get.getURI(ElasticsearchVersion.UNKNOWN));
    JSONAssert.assertEquals("{\"docs\":[" +
            "{\"_index\":\"twitter\",\"_type\":\"tweet\",\"_id\":\"1\"}," +
            "{\"_index\":\"twitter\",\"_type\":\"tweet\",\"_id\":\"2\"}," +
            "{\"_index\":\"twitter\",\"_type\":\"tweet\",\"_id\":\"3\"}]}",
            get.getData(new Gson()), false);
}