Source

						public function testReset() {
		ErrorHandler::reset();
		$this->assertEqual(array(), ErrorHandler::handlers());

		$result = ErrorHandler::handlers(array('test' => function($error) { /* Do something */ }));
		$this->assertEqual(array('test'), array_keys($result));
		$this->assertTrue($result['test'] instanceof Closure);
		$this->assertEqual($result, ErrorHandler::handlers());

		ErrorHandler::reset();
		$this->assertEqual(array(), ErrorHandler::handlers());
	}