ActionWorkItemCol52 extends ActionCol52 { public void setWorkItemDefinition( PortableWorkDefinition workItemDefinition ) { this.workItemDefinition = workItemDefinition; }  @Override List<BaseColumnFieldDiff> diff( BaseColumn otherColumn ); PortableWorkDefinition getWorkItemDefinition(); void setWorkItemDefinition( PortableWorkDefinition workItemDefinition ); @Override boolean equals(Object o); @Override int hashCode(); static final String FIELD_WORKITEM_DEFINITION_NAME; static final String FIELD_WORKITEM_DEFINITION_PARAMETER_NAME; static final String FIELD_WORKITEM_DEFINITION_PARAMETER_VALUE; }
@Test public void testWorkItemDefinition_SimpleAndNull() { PortableWorkDefinition def1 = new PortableWorkDefinition(); def1.setName("def1name"); column1.setWorkItemDefinition(def1); column2.setWorkItemDefinition(null); checkSingleDiff(FIELD_WORKITEM_DEFINITION_NAME, "def1name", null, column1, column2); }