コード例 #1
0
ファイル: ContainerTest.php プロジェクト: rjd22/kohana-pimple
 /**
  * @test
  */
 public function shouldReturnFalseWhenCheckingForANonExistentDependency()
 {
     $this->assertFalse($this->container->has('non-existent-dependency'));
 }
コード例 #2
0
 public function before()
 {
     parent::before();
     $this->container = Container::factory();
 }