public function setAll(array $values)
{
$this->_values = $values;
return $this;
}
public function testSetAll() { $values = array('key' => 'value', 'other' => 'otherValue'); $valueHolder = new ValueHolder(); $valueHolder->setAll($values); $this->assertEquals($values, $valueHolder->getAll()); }