/** * @covers ::load * @expectedException Exception */ public function testLoadException() { $cachedRemoteData = new CachedRemoteData($this->getNullItemPool(), 'file://' . __DIR__ . '/../test_file_missing.txt'); $cachedRemoteData->load(); }