GraphAware\Neo4j\Client\Tests\Integration\CombinedStatisticsIntegrationTest::testStatsAreMergedWithHttp PHP Method

testStatsAreMergedWithHttp() public method

    public function testStatsAreMergedWithHttp()
    {
        $this->emptyDb();
        $stack = Stack::create(null, 'http');
        $stack->push('CREATE (n:Node)');
        $stack->push('CREATE (n:Node)');
        $results = $this->client->runStack($stack);
        $this->assertEquals(2, $results->updateStatistics()->nodesCreated());
        $this->assertEquals(2, $results->updateStatistics()->labelsAdded());
    }