@Test
public void convertJsonStringToMapObject() {

    String json = "{\n" +
            "    \"ok\" : true,\n" +
            "    \"_index\" : \"twitter\",\n" +
            "    \"_type\" : \"tweet\",\n" +
            "    \"_id\" : \"1\"\n" +
            "}";
    JsonObject jsonMap = new DummyAction.Builder().build().parseResponseBody(json);
    assertNotNull(jsonMap);
    assertEquals(4, jsonMap.entrySet().size());
    assertEquals(true, jsonMap.get("ok").getAsBoolean());
    assertEquals("twitter", jsonMap.get("_index").getAsString());
    assertEquals("tweet", jsonMap.get("_type").getAsString());
    assertEquals("1", jsonMap.get("_id").getAsString());
}