You are here

public function ConfigEntityStorageTest::testDeleteNothing in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 920
Contains \Drupal\Tests\Core\Config\Entity\ConfigEntityStorageTest.

Class

ConfigEntityStorageTest
@coversDefaultClass \Drupal\Core\Config\Entity\ConfigEntityStorage @group Config

Namespace

Drupal\Tests\Core\Config\Entity

Code

public function testDeleteNothing() {
  $this->moduleHandler
    ->expects($this
    ->never())
    ->method($this
    ->anything());
  $this->configFactory
    ->expects($this
    ->never())
    ->method('get');
  $this->cacheTagsInvalidator
    ->expects($this
    ->never())
    ->method('invalidateTags');
  $this->entityStorage
    ->delete(array());
}