Example #1
0
 public function testUninitializedClusterFailsOnCount()
 {
     $query = new AfsQuery();
     try {
         $query->set_count(AfsCount::CLUSTERS);
         $this->fail('Setting cluster count mode on uninitialized cluster should have failed!');
     } catch (AfsClusterException $e) {
     }
 }