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

testExceptionIsThrownWhenMasterAliasDoesntExist() public method

    public function testExceptionIsThrownWhenMasterAliasDoesntExist()
    {
        $this->setExpectedException(InvalidArgumentException::class);
        $client = ClientBuilder::create()->addConnection('default', 'http://localhost:7474')->addConnection('conn2', 'http://localhost:7575')->addConnection('conn3', 'http://localhost:7676')->setMaster('conn5')->build();
    }