public function reset() { $this->_values = array(); return $this; }
public function testReset() { $initialValues = array('key' => 'value'); $valueHolder = new ValueHolder($initialValues); $valueHolder->reset(); $this->assertAttributeEmpty('_values', $valueHolder); }