diff --git a/core/tests/Drupal/Tests/Core/Site/SettingsTest.php b/core/tests/Drupal/Tests/Core/Site/SettingsTest.php
index 3cf50fc..0ec9dbe 100644
--- a/core/tests/Drupal/Tests/Core/Site/SettingsTest.php
+++ b/core/tests/Drupal/Tests/Core/Site/SettingsTest.php
@@ -126,4 +126,21 @@ public function testGetApcuPrefix() {
     $this->assertNotEquals($settings::getApcuPrefix('cache_test', '/test/a'), $settings::getApcuPrefix('cache_test', '/test/b'));
   }
 
+  /**
+   * Tests Settings::testGetInstanceReflection().
+   *
+   * @covers ::getInstance
+   */
+  public function testGetInstanceReflection() {
+    $settings = new Settings(array());
+
+    $class = new \ReflectionClass(Settings::class);
+    $instace_property = $class->getProperty("instance");
+    $instace_property->setAccessible(TRUE);
+    $instace_property->setValue(NULL);
+
+    $this->setExpectedException('BadMethodCallException');
+    $settings->getInstance();
+  }
+
 }
