Cassandra\SchemaMetadataIntegrationTest::testNoSecondaryIndexes PHP Method

testNoSecondaryIndexes() public method

This test ensures that secondary indexes are properly handled by the driver.
    public function testNoSecondaryIndexes()
    {
        // Create the table and validate no indexes exist
        $this->createTableForSecondaryIndexes();
        $table = $this->session->schema()->keyspace($this->keyspaceName)->table($this->tableNamePrefix);
        $this->assertCount(0, $table->indexes());
        $this->assertFalse($table->index("invalid"));
    }