@Test
 public void testToString() {
   IAtsWorkDefinition workDef = new MockWorkDefinition("mine");
   WorkDefinitionMatch match = new WorkDefinitionMatch(workDef.getName(), "trace");
   match.setWorkDefinition(workDef);
   Assert.assertEquals("mine", match.toString());
 }
 @Test
 public void testWorkDefinitionMatchWorkDefinitionString() {
   IAtsWorkDefinition workDef = new MockWorkDefinition("mine");
   WorkDefinitionMatch match = new WorkDefinitionMatch(workDef.getName(), "trace");
   match.setWorkDefinition(workDef);
   Assert.assertNotNull(match.getWorkDefinition());
   Assert.assertFalse(match.getTrace().isEmpty());
 }
 @Test
 public void testIsMatched() {
   IAtsWorkDefinition workDef = new MockWorkDefinition("mine");
   WorkDefinitionMatch match = new WorkDefinitionMatch(workDef.getName(), "trace");
   match.setWorkDefinition(workDef);
   Assert.assertTrue(match.isMatched());
   match.setWorkDefinition(null);
   Assert.assertFalse(match.isMatched());
 }
 @Override
 public String getName() {
   if (workflow == null) {
     return "No Artifact Input Provided";
   }
   return workflow.getName();
 }
 @Override
 public boolean equals(Object obj) {
   if (obj instanceof AtsWorkDefConfigEditorInput) {
     AtsWorkDefConfigEditorInput otherEdInput = (AtsWorkDefConfigEditorInput) obj;
     return workflow.getName().equals(otherEdInput.workflow.getName());
   }
   return false;
 }
 @Override
 public int hashCode() {
   return workflow.getName().hashCode();
 }