public function testThrowsExceptionOnUnsupportedHttpMethod() { $this->request->expects($this->once())->method('getMethod')->will($this->returnValue('TRACE')); $this->router->route($this->request); }