コード例 #1
0
ファイル: ContainerTest.php プロジェクト: hybr/jpm
 public function testResetTypes()
 {
     Container::add('testing', 'Mandango\\Tests\\Type\\TestingType');
     Container::reset();
     $this->assertTrue(Container::has('string'));
     $this->assertFalse(Container::has('testing'));
 }
コード例 #2
0
ファイル: TestCase.php プロジェクト: robo47/mandango
 protected function tearDown()
 {
     Archive::clear();
     IdGeneratorContainer::reset();
     TypeContainer::reset();
 }
コード例 #3
0
ファイル: TestCase.php プロジェクト: netom/mandango
 protected function tearDown()
 {
     IdGeneratorContainer::reset();
     TypeContainer::reset();
 }