PhlyTest\Http\RequestTest::testConstructorRaisesExceptionForInvalidMethod PHP Метод

testConstructorRaisesExceptionForInvalidMethod() публичный Метод

    public function testConstructorRaisesExceptionForInvalidMethod($method)
    {
        $this->setExpectedException('InvalidArgumentException', 'Unsupported HTTP method');
        new Request(null, $method);
    }
RequestTest