Example #1
0
 public function getSetConsistency()
 {
     $newC = cassandra_ConsistencyLevel::QUORUM;
     PandraCore::setConsistency($newC);
     $this->assertTrue(PandraCore::getConsistency() == $newC);
     $this->assertTrue(PandraCore::getConsistency(cassandra_ConsistencyLevel::ONE) == cassandra_ConsistencyLevel::ONE);
 }