lithium\tests\cases\net\http\ServiceTest::testGet PHP Метод

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

public testGet ( )
    public function testGet()
    {
        $http = new Service($this->_testConfig);
        $this->assertEqual('', $http->get());
        $this->assertEqual('HTTP/1.1', $http->last->response->protocol);
        $this->assertEqual('200', $http->last->response->status['code']);
        $this->assertEqual('OK', $http->last->response->status['message']);
        $this->assertEqual(null, $http->last->response->type());
        $this->assertEqual('UTF-8', $http->last->response->encoding);
    }