@Test
public void failsWriteStartObjectWhenItDoesNotStartRootObjectOrDoesNotFollowKey() throws Exception {

    jsonWriter.writeStartObject();
    thrown.expect(JsonException.class);
    jsonWriter.writeStartObject();
}