### Question:
AbstractDifference { public DiffType getDifferenceType() { return _differenceType; }  void setDifferenceType(DiffType _differenceType); DiffType getDifferenceType(); void setTableName1(String _tableName); String getTableName1(); void setSchema1(String _schema); String getSchema1(); void setCatalog1(String _catalog1); String getCatalog1(); void setCatalog2(String _catalog2); String getCatalog2(); void setSchema2(String _schema2); String getSchema2(); void setTableName2(String _tableName2); String getTableName2(); void setDifferenceVal1(Object _differenceVal1); Object getDifferenceVal1(); void setDifferenceVal2(Object _differenceVal2); Object getDifferenceVal2();  }### Answer:
@Test public void testGetDifferenceType() throws Exception { classUnderTest.setDifferenceType(null); assertNull(classUnderTest.getDifferenceType()); for (final DiffType type : AbstractDifference.DiffType.values()) { classUnderTest.setDifferenceType(type); assertEquals(type, classUnderTest.getDifferenceType()); } }