@Test
public void thatErrorIsParcelable() throws JSONException {

    BatchOperationResult instance = new BatchOperationResult(BatchOperator.DELETE, 0, false, new JSONObject("{\n" +
            "        \"error\": {\n" +
            "          \"status\": 403,\n" +
            "          \"message\": \"You can not update an instance of a module that does not belong to you or does not exist\",\n" +
            "          \"extra\": {},\n" +
            "          \"type\": \"HaloError\"\n" +
            "        }\n" +
            "      }"));
    BatchError error = instance.getDataError();
    BatchError parcelInstance = TestUtils.testParcel(error, BatchError.CREATOR);
    assertThat(error.getError().mMessage).isEqualTo(parcelInstance.getError().mMessage);
}