function setOption($opt, $value) { if ($opt == 'mock') { $this->setMock($value); } else { parent::setOption($opt, $value); } }