/** * Test if the `remove` method throws an exception if * the resource doesn't exists. * * @expectedException \com\mohiva\common\io\exceptions\RemoveException */ public function testRemoveThrowsRemoveException() { $container = new TempResourceContainer(TempFileResource::TYPE); $container->remove('php://temp/test', false); }