public function test_ConfigNotLoadedTwice() { $configA = 'ConfigNotLoadedTwice/ConfigA'; $l = $this->createLoader([$configA]); $l->tryLoad('ClassA'); $this->assertTrue(LoadedNotifier::isLoadedAt($this->getPathToFiles($configA, 'ClassA'), 1)); LoadedNotifier::clear(); $l->tryLoad('ClassA'); $this->assertFalse(LoadedNotifier::isLoadedAt($this->getPathToFiles($configA, 'ClassA'), 1)); }