Пример #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.');
 }
Пример #2
0
Файл: Sqon.php Проект: sqon/sqon
 /**
  * {@inheritdoc}
  */
 public function hasPath($path)
 {
     return $this->database->hasPath($path);
 }