SpreadsheetImportActivityFactory implements ActivityFactory { @Override public JsonNode getActivityConfigurationSchema() { ObjectMapper objectMapper = new ObjectMapper(); try { return objectMapper.readTree(getClass().getResource("/schema.json")); } catch (IOException e) { return objectMapper.createObjectNode(); } }  @Override SpreadsheetImportActivity createActivity(); @Override URI getActivityType(); @Override JsonNode getActivityConfigurationSchema(); @Override Set<ActivityInputPort> getInputPorts(JsonNode configuration); @Override Set<ActivityOutputPort> getOutputPorts(JsonNode configuration); void setEdits(Edits edits);  }
@Test public void testGetActivityConfigurationSchema() { assertTrue(factory.getActivityConfigurationSchema() instanceof JsonNode); }