@Test
public void testJacksonObjectToJsonError() {

	Object obj = new Object() {
		@SuppressWarnings("unused")
		public String getData() throws JsonGenerationException {
			throw new JsonGenerationException("Test exception");
		}
	};
	String result = JsonSerializer.jacksonObjectToString(obj);
	assertNull(result);
}