예제 #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
 protected function tearDown()
 {
     Archive::clear();
     IdGeneratorContainer::reset();
     TypeContainer::reset();
 }
예제 #3
0
파일: TestCase.php 프로젝트: netom/mandango
 protected function tearDown()
 {
     IdGeneratorContainer::reset();
     TypeContainer::reset();
 }