lithium\tests\cases\data\source\HttpTest::testCustomActionWithoutMethod PHP Метод

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

    public function testCustomActionWithoutMethod()
    {
        $http = new Http($this->_testConfig);
        $result = $http->something();
        $expected = join("\r\n", array('GET /something HTTP/1.1', 'Host: localhost:80', 'Connection: Close', 'User-Agent: Mozilla/5.0', '', ''));
        $result = (string) $http->last->request;
        $this->assertEqual($expected, $result);
    }