public FileData exportCtlSchemaShallow(CTLSchemaDto schema) throws ControlServiceException { return ctlService.shallowExport(schema); }
@Test public void testShallowExport() throws Exception { ObjectMapper mapper = new ObjectMapper(); JsonNode expected = mapper.readTree(readSchemaFileAsString(TEST_CTL_SCHEMA_ALPHA)); JsonNode actual = mapper.readTree(ctlService.shallowExport(alpha).getFileData()); Assert.assertEquals(expected, actual); }