getStatus() public method

public getStatus ( )
Beispiel #1
0
 /**
  * @covers Imbo\Database\Mongo::getStatus
  */
 public function testReturnsFalseWhenFetchingStatusAndTheHostnameIsNotCorrect()
 {
     $db = new Mongo(['server' => 'mongodb://localhost:11111']);
     $this->assertFalse($db->getStatus());
 }