/** * Accuracy test of method <code>setTargetScope(ScopeKind)</code> and <code>getTargetScope() * </code>. */ public void testTargetScopeSetterAndGetter() { // initial value is null assertNull(feature.getTargetScope()); // set the TargetScope with specified ScopeKind feature.setTargetScope(ScopeKind.CLASSIFIER); assertNotNull(feature.getTargetScope()); // set the TargetScope with null feature.setTargetScope(null); assertNull(feature.getTargetScope()); }