Example #1
0
 /**
  * Verify that we can check if a path exists.
  */
 public function testCheckIfAPathExists()
 {
     self::assertFalse($this->manager->hasPath($this->values['path']), 'The path should not exist.');
     $this->insert->execute($this->values);
     self::assertTrue($this->manager->hasPath($this->values['path']), 'The path should now exist.');
 }
Example #2
0
File: Sqon.php Project: sqon/sqon
 /**
  * {@inheritdoc}
  */
 public function hasPath($path)
 {
     return $this->database->hasPath($path);
 }