public function testExclusive() { $loader = new SS_ClassLoader(); $loader->pushManifest($this->testManifest1); $this->assertTrue((bool) $loader->getItemPath('ClassA')); $this->assertFalse((bool) $loader->getItemPath('OtherClassA')); $loader->pushManifest($this->testManifest2); $this->assertFalse((bool) $loader->getItemPath('ClassA')); $this->assertTrue((bool) $loader->getItemPath('OtherClassA')); $loader->popManifest(); $loader->pushManifest($this->testManifest2, false); $this->assertTrue((bool) $loader->getItemPath('ClassA')); $this->assertTrue((bool) $loader->getItemPath('OtherClassA')); }