GraphAware\Neo4j\Client\Tests\Integration\ClientSetupIntegrationTest::testTwoConnectionCanBeUsed PHP Method

testTwoConnectionCanBeUsed() public method

    public function testTwoConnectionCanBeUsed()
    {
        $client = ClientBuilder::create()->addConnection('http', 'http://localhost:7474')->addConnection('bolt', 'bolt://localhost')->build();
        $this->assertInstanceOf(HttpDriver::class, $client->getConnectionManager()->getConnection('http')->getDriver());
        $this->assertInstanceOf(BoltDriver::class, $client->getConnectionManager()->getConnection('bolt')->getDriver());
    }