diff --git a/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php b/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
index f90a689..07b1dac 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
@@ -384,6 +384,9 @@ public function testSetMultiple() {
   public function testDeleteMultiple() {
     $backend = $this->getCacheBackend();
 
+    // Calling delete with an empty list should not cause an error.
+    $backend->deleteMultiple(array());
+
     // Set numerous testing keys.
     $backend->set('test1', 1);
     $backend->set('test2', 3);
@@ -515,6 +518,9 @@ function testInvalidate() {
     $ret = $backend->getMultiple($cids);
     $this->assertEqual(count($ret), 4, 'Four items returned.');
 
+    // Calling invalidate with an empty list should not cause an error.
+    $backend->invalidateMultiple(array());
+
     $backend->invalidate('test1');
     $backend->invalidateMultiple(array('test2', 'test3'));
 
