@Test
public void testGsonParserErrorSuppressed() throws JsonSyntaxException {

    this.expectedEx.expect(JsonSyntaxException.class);
    this.expectedEx.expectMessage("JSON body could not be parsed");
    JsonMapper jsonMapper = new JsonMapper();
    jsonMapper.setJsonSuppressGsonSerializationErrors(true);
    jsonMapper.fromJson("TEST", ExampleServiceState.class);
}