Cassandra\SchemaMetadataIntegrationTest::testUserDefinedAggregates PHP Method

testUserDefinedAggregates() public method

This test ensures that UDAs are properly handled by the driver.
    public function testUserDefinedAggregates()
    {
        // Create the UDA
        $this->createUserDefinedAggregate();
        // Validate the UDA exists
        $keyspace = $this->session->schema()->keyspace($this->keyspaceName);
        $this->assertCount(1, $keyspace->aggregates());
        $this->assertCount(2, $keyspace->functions());
        $this->assertUserDefinedAggregate();
    }