Exemplo n.º 1
0
 public function testResetTypes()
 {
     Container::add('testing', 'Mandango\\Tests\\Type\\TestingType');
     Container::reset();
     $this->assertTrue(Container::has('string'));
     $this->assertFalse(Container::has('testing'));
 }
Exemplo n.º 2
0
 protected function tearDown()
 {
     Archive::clear();
     IdGeneratorContainer::reset();
     TypeContainer::reset();
 }
Exemplo n.º 3
0
 protected function tearDown()
 {
     IdGeneratorContainer::reset();
     TypeContainer::reset();
 }