public function testSetKeyValidated() { $cf = new PandraColumnFamily($this->_keyID, 'Keyspace1', 'StandardByUUID1', PandraColumnContainer::TYPE_UUID); $cf->setKeyValidator(array('uuid')); $newKey = 'abc123'; $this->assertFalse($cf->setKeyID($newKey)); $this->assertFalse($cf->getKeyID() == $newKey); }