}
@Test
public void testOutputJSONInline() throws InvalidDDMSException {
DDMSVersion.setCurrentVersion("4.1");
Security security = SecurityTest.getFixture();
PropertyReader.setProperty("output.json.inlineAttributes", "false");
assertEquals("{\"excludeFromRollup\":true,\"securityAttributes\":{\"classification\":\"U\",\"ownerProducer\":[\"USA\"]}}", security.toJSON());
PropertyReader.setProperty("output.json.inlineAttributes", "true");
assertEquals("{\"excludeFromRollup\":true,\"classification\":\"U\",\"ownerProducer\":[\"USA\"]}", security.toJSON());
}