function testResetExceptGuardedProperties() { $object = new ObjectTestVersion(); $object->_guarded = 'yeah'; $object->reset(); $this->assertEqual($object->_guarded, 'yeah'); }