public function testRootStatic()
 {
     $this->assertEquals(Cluster::root(), $this->clusters('Root 1'));
 }
Esempio n. 2
0
 public function testKeyIsNonNumeric()
 {
     $root = Cluster::root();
     $this->assertTrue(is_string($root->getKey()));
     $this->assertFalse(is_numeric($root->getKey()));
 }