function ConfigEntityStorageTest::testDeleteNothing

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityStorageTest::testDeleteNothing()
  2. 10 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityStorageTest::testDeleteNothing()
  3. 11.x core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityStorageTest::testDeleteNothing()

@covers ::delete @covers ::doDelete

File

core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php, line 693

Class

ConfigEntityStorageTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Config%21Entity%21ConfigEntityStorage.php/class/ConfigEntityStorage/9" title="Defines the storage class for configuration entities." class="local">\Drupal\Core\Config\Entity\ConfigEntityStorage</a> @group Config

Namespace

Drupal\Tests\Core\Config\Entity

Code

public function testDeleteNothing() {
    $this->moduleHandler
        ->invokeAll(Argument::cetera())
        ->shouldNotBeCalled();
    $this->configFactory
        ->get(Argument::cetera())
        ->shouldNotBeCalled();
    $this->configFactory
        ->getEditable(Argument::cetera())
        ->shouldNotBeCalled();
    $this->cacheTagsInvalidator
        ->invalidateTags(Argument::cetera())
        ->shouldNotBeCalled();
    $this->entityStorage
        ->delete([]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.