public function testEnsuresDirExistsBeforeThrowingWarning() { $f = new Handler\CurlFactory(3); $f->create(new Psr7\Request('GET', Server::$url), ['sink' => '/does/not/exist/so/error.txt']); }