### Question:
JSONConverter { public String toJSON(Object object) throws JSONConverterException { return toJSON(object, false); } JSONConverter(); static JSONConverter get(); String toJSON(Object object); String toJSON(Object object, boolean prettyPrinted); T fromJSON(Class<T> clazz, String jSON);  }### Answer:
@Test public void toJSON_test_object_returns_expected_json_string() throws Exception { assertEquals("{\"info\":\"test1\"}", converterToTest.toJSON(new JSONConverterTestObject("test1"))); }