RuleNameColumn extends DTColumnConfig52 { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof RuleNameColumn)) { return false; } return super.equals(o); } RuleNameColumn(); @Override DTCellValue52 getDefaultValue(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void testEquals() { final RuleNameColumn one = new RuleNameColumn(); one.setHeader("h1"); one.setDefaultValue(new DTCellValue52("rule name")); final RuleNameColumn two = new RuleNameColumn(); two.setHeader("h1"); two.setDefaultValue(new DTCellValue52("rule name")); assertEquals(one, two); }