public function testNullResetsAttributeValue() { $attr = new Attribute('foo', Attr::REQUIRED, Attr::SINGLE); $attr->setValue('foo'); $attr->setValue(NULL); $this->assertFalse($attr->isDefined()); }