public function testCaseSensitiveByNameInvalidBindName()
{
// Determine if the test should be skipped
if (version_compare(\Cassandra::CPP_DRIVER_VERSION, "2.2.3") < 0) {
$this->markTestSkipped("Skipping {$this->getName()}: Case sensitivity issue fixed in DataStax C/C++ v 2.2.3");
}
// Create the table
$query = "CREATE TABLE {$this->tableNamePrefix} (key timeuuid PRIMARY KEY, \"value_iNT\" int, \"value_TeXT\" text)";
$this->session->execute(new SimpleStatement($query));
// Create the insert query and attempt to insert invalid valid name
$query = "INSERT INTO {$this->tableNamePrefix} (key, \"value_TeXT\", \"value_iNT\") VALUES (?, ?, ?)";
$values = array("key" => new Timeuuid(), "value_iNT" => 1, "value_text" => "Exception will be thrown; case-sensitive");
$statement = new SimpleStatement($query);
$options = new ExecutionOptions(array("arguments" => $values));
$this->session->execute($statement, $options);
}