Esempio n. 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.');
 }
Esempio n. 2
0
File: Sqon.php Progetto: sqon/sqon
 /**
  * {@inheritdoc}
  */
 public function hasPath($path)
 {
     return $this->database->hasPath($path);
 }