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