示例#1
0
 public function testResetTypes()
 {
     IdGeneratorContainer::add('testing', 'Mandango\\Tests\\Id\\TestingIdGenerator');
     IdGeneratorContainer::reset();
     $this->assertTrue(IdGeneratorContainer::has('native'));
     $this->assertFalse(IdGeneratorContainer::has('testing'));
 }
示例#2
0
 protected function tearDown()
 {
     Archive::clear();
     IdGeneratorContainer::reset();
     TypeContainer::reset();
 }
示例#3
0
 protected function tearDown()
 {
     IdGeneratorContainer::reset();
     TypeContainer::reset();
 }