public function testManualConfiguration2() { $config = static::getConfig('connect'); $client = new PhpOrient(); $transport = new \PhpOrient\Protocols\Binary\SocketTransport(); $this->assertInstanceOf('\\PhpOrient\\Protocols\\Common\\AbstractTransport', $transport); $this->assertInstanceOf('\\PhpOrient\\Protocols\\Common\\TransportInterface', $transport); $transport->configure($config); $client->setTransport($transport); $client->execute('connect', $config); $this->assertNotEquals(-1, $client->getTransport()->getSessionId()); $this->assertNotEquals(-1, $client->getTransport()->getProtocolVersion()); }