DataflowActivityFactory implements ActivityFactory { @Override public DataflowActivity createActivity() { DataflowActivity activity = new DataflowActivity(); activity.setEdits(edits); return activity; }  @Override DataflowActivity 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 testCreateActivity() { DataflowActivity createActivity = factory.createActivity(); assertNotNull(createActivity); }