public function setWith($function) { return parent::setWith(clone php\mocker::getAdapter())->setFunction($function); }