/** * @expectedException CassandraUnsupportedException */ public function testExceptionThrownUsingIndexesOnSuperColumns() { $this->cassandra->createSuperColumnFamily('CassandraTest', 'cities2', array(array('name' => 'population', 'type' => Cassandra::TYPE_INTEGER, 'index-type' => Cassandra::INDEX_KEYS, 'index-name' => 'PopulationIdx'), array('name' => 'comment', 'type' => Cassandra::TYPE_UTF8)), Cassandra::TYPE_UTF8, Cassandra::TYPE_UTF8, Cassandra::TYPE_UTF8, 'Capitals supercolumn test', 1000, 1000, 0.5); }