public void testOutputJSONPrettyPrint() throws InvalidDDMSException {
Extent extent = new Extent("a", "z");
PropertyReader.setProperty("output.json.prettyPrint", "false");
assertEquals("{\"qualifier\":\"a\",\"value\":\"z\"}", extent.toJSON());
PropertyReader.setProperty("output.json.prettyPrint", "true");
assertEquals("{\n \"qualifier\": \"a\",\n \"value\": \"z\"\n}", extent.toJSON());
}
@Test
public void testOutputJSONInline() throws InvalidDDMSException {
DDMSVersion.setCurrentVersion("4.1");