/** * @covers Phossa\Route\Route::addHandler */ public function testAddHandler() { $this->object->addHandler(Status::METHOD_NOT_ALLOWED, 'test'); $this->assertTrue('test' === $this->object->getHandler(Status::METHOD_NOT_ALLOWED)); }