@Test
public void getSuccessGetResult() {

    String jsonString = "{" +
            "    \"_index\" : \"twitter\"," +
            "    \"_type\" : \"tweet\"," +
            "    \"_id\" : \"1\"," +
            "    \"exists\" : true" +
            "}";
    Get get = new Get.Builder("test", "1").build();
    JestResult result = get.createNewElasticSearchResult(jsonString, 200, null, new Gson());
    assertTrue(result.getErrorMessage(), result.isSucceeded());
}