/** * @test */ public function cannot_check_exists_on_invalid_file() { $resource = new URLResource('file:///please/dont/create/this/path/so/this/test/will/work'); $this->assertFalse($resource->exists()); }