@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) { if (workflowOutput != null) { config.setWorkflowOutput(workflowOutput); } }
WorkflowOutputDelegate extends Delegate { @Override public void applyDelegate(Config config) { if (workflowOutput != null) { config.setWorkflowOutput(workflowOutput); } } }
WorkflowOutputDelegate extends Delegate { @Override public void applyDelegate(Config config) { if (workflowOutput != null) { config.setWorkflowOutput(workflowOutput); } } WorkflowOutputDelegate(); }
WorkflowOutputDelegate extends Delegate { @Override public void applyDelegate(Config config) { if (workflowOutput != null) { config.setWorkflowOutput(workflowOutput); } } WorkflowOutputDelegate(); String getWorkflowOutput(); void setWorkflowOutput(String workflowOutput); @Override void applyDelegate(Config config); }
WorkflowOutputDelegate extends Delegate { @Override public void applyDelegate(Config config) { if (workflowOutput != null) { config.setWorkflowOutput(workflowOutput); } } WorkflowOutputDelegate(); String getWorkflowOutput(); void setWorkflowOutput(String workflowOutput); @Override void applyDelegate(Config config);  }