public function assertUriHasArgument($uri, $param, $value) { //disable the current reporter when we test assertions $reporter = $this->_reporter; $this->_reporter = new SimpleReporter(); //assert $result = parent::assertUriHasArgument($uri, $param, $value); //restore the old reporter $this->_reporter = $reporter; return $result; }