GraphAware\Neo4j\Client\Tests\Integration\ClientGetExceptionIntegrationTest::testExceptionHandling PHP 메소드

testExceptionHandling() 공개 메소드

    public function testExceptionHandling()
    {
        $client = ClientBuilder::create()->addConnection('default', 'bolt://localhost')->build();
        $this->setExpectedException(Neo4jException::class);
        $result = $client->run("CREATE (n:Cool");
    }
ClientGetExceptionIntegrationTest