ImboUnitTest\RouterTest::testThrowsExceptionWhenNoRouteMatches PHP Method

testThrowsExceptionWhenNoRouteMatches() public method

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