/** Accuracy test of method <code>setType(Classifier)</code> and <code>getType()</code>. */ public void testTypeSetterAndGetter() { // initial value is null assertNull(feature.getType()); // set the Type with specified Classifier feature.setType(new MockClassifierImpl()); assertNotNull(feature.getType()); // set the Type with null feature.setType(null); assertNull(feature.getType()); }