@Test public void testNothingSetNothingChanges() { Config config = Config.createConfig(); Config config2 = Config.createConfig(); delegate.applyDelegate(config); assertTrue(EqualsBuilder.reflectionEquals(config, config2, "keyStore", "ourCertificate")); }
@Override public void applyDelegate(Config config) { FileInputStream fis = null; if (workflowInput != null) { config.setWorkflowInput(workflowInput); } }
WorkflowInputDelegate extends Delegate { @Override public void applyDelegate(Config config) { FileInputStream fis = null; if (workflowInput != null) { config.setWorkflowInput(workflowInput); } } }
WorkflowInputDelegate extends Delegate { @Override public void applyDelegate(Config config) { FileInputStream fis = null; if (workflowInput != null) { config.setWorkflowInput(workflowInput); } } WorkflowInputDelegate(); }
WorkflowInputDelegate extends Delegate { @Override public void applyDelegate(Config config) { FileInputStream fis = null; if (workflowInput != null) { config.setWorkflowInput(workflowInput); } } WorkflowInputDelegate(); String getWorkflowInput(); void setWorkflowInput(String workflowInput); @Override void applyDelegate(Config config); }
WorkflowInputDelegate extends Delegate { @Override public void applyDelegate(Config config) { FileInputStream fis = null; if (workflowInput != null) { config.setWorkflowInput(workflowInput); } } WorkflowInputDelegate(); String getWorkflowInput(); void setWorkflowInput(String workflowInput); @Override void applyDelegate(Config config);  }