Index: tests/phpunit/tests/functions/wpRemoteFopen.php
===================================================================
--- tests/phpunit/tests/functions/wpRemoteFopen.php	(nonexistent)
+++ tests/phpunit/tests/functions/wpRemoteFopen.php	(working copy)
@@ -0,0 +1,35 @@
+<?php
+/**
+ * wordpress-develop.
+ * User: Paul
+ * Date: 2019-11-30
+ *
+ */
+
+if ( ! defined( 'WPINC' ) ) {
+	die;
+}
+/**
+ * @group external-http
+ */
+class Tests_wp_remote_fopen extends WP_UnitTestCase {
+
+	public function test_wp_remote_fopen_empty() {
+
+		$this->assertFalse( wp_remote_fopen('') );
+	}
+
+	public function test_wp_remote_fopen_bad_url() {
+
+		$this->assertFalse( wp_remote_fopen('wp.com') );
+	}
+
+	public function test_wp_remote_fopen() {
+		// this url give a direct 200 response
+		$url      = 'https://asdftestblog1.wordpress.com/404';
+		$response = wp_remote_fopen( $url );
+
+		$this->assertInternalType( 'string', $response );
+		$this->assertRegexp( '/<!DOCTYPE html>/', $response );
+	}
+}
\ No newline at end of file
