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

testNullIseReturnedForMasterWhenNoMasterIsDefined() public method

    public function testNullIseReturnedForMasterWhenNoMasterIsDefined()
    {
        $client = ClientBuilder::create()->addConnection('default', 'http://localhost:7474')->addConnection('conn2', 'http://localhost:7575')->addConnection('conn3', 'http://localhost:7676')->build();
        $this->assertNull($client->getConnectionManager()->getMasterConnection());
    }