@Test
public void thatCanSerializeObject() throws JSONException, HaloParsingException {

    Date now = new Date();
    JSONObject json = new JSONObject("{foo: 'bar'}");
    HaloContentInstance instance = new HaloContentInstance("fakeId", "fakeModuleName", "fakeModule", "fakeName", json,"fakeAuthor",now, now, now, now, now,new ArrayList<HaloSegmentationTag>());
    String objectSerialized = HaloContentInstance.serialize(instance, mHalo.framework().parser());
    JSONObject jsonObject = new JSONObject(objectSerialized);
    assertThat(jsonObject.get("id")).isEqualTo("fakeId");
}