public function testStaticUniversalFileLoader() { try { FileSystem::getUniversalFileLoader(__DIR__); } catch (\Exception $E) { $this->assertInstanceOf('MOC\\V\\Core\\FileSystem\\Component\\Exception\\Repository\\TypeFileException', $E); } $Loader = FileSystem::getUniversalFileLoader(__FILE__); $this->assertEquals(__FILE__, $Loader->getLocation()); $this->assertInstanceOf('MOC\\V\\Core\\FileSystem\\Component\\IBridgeInterface', $Loader); }