public function testExceptionGetRequest($request) { $config = new ResourceManager(new \Pimple(['rootpath' => PHPUNIT_WEBROOT, 'pathmanager' => new PlatformFileSystemPathFactory()])); $config->getRequest($request); }