public function testResetTypes() { IdGeneratorContainer::add('testing', 'Mongator\\Tests\\Id\\TestingIdGenerator'); IdGeneratorContainer::reset(); $this->assertTrue(IdGeneratorContainer::has('native')); $this->assertFalse(IdGeneratorContainer::has('testing')); }
protected function tearDown() { IdGeneratorContainer::reset(); TypeContainer::reset(); }