public function testGetSetOptions()
{
$this->decoratedValidator->expects($this->at(0))->method('getOptions')->will($this->returnValue(array()));
$this->decoratedValidator->expects($this->at(1))->method('setOptions')->with(array('cost' => '11'));
$this->decoratedValidator->expects($this->at(2))->method('getOptions')->will($this->returnValue(array('cost' => '11')));
$this->assertEquals(array(), $this->decorator->getOptions());
$this->decorator->setOptions(array('cost' => '11'));
$this->assertEquals(array('cost' => '11'), $this->decorator->getOptions());
}