You are here

public function ConfigEntityRevisionsRevertFormBaseTest::displayUpdate in Config Entity Revisions 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/ConfigEntityRevisionsRevertFormBaseTest.php \Drupal\Tests\config_entity_revisions\Unit\ConfigEntityRevisionsRevertFormBaseTest::displayUpdate()
  2. 1.x tests/src/Unit/ConfigEntityRevisionsRevertFormBaseTest.php \Drupal\Tests\config_entity_revisions\Unit\ConfigEntityRevisionsRevertFormBaseTest::displayUpdate()

Does displayUpdate display the expected message?

@test

File

tests/src/Unit/ConfigEntityRevisionsRevertFormBaseTest.php, line 490

Class

ConfigEntityRevisionsRevertFormBaseTest
Test ability to revert (form) configurations.

Namespace

Drupal\Tests\config_entity_revisions\Unit

Code

public function displayUpdate() {
  $this->instance = $this
    ->getMockInstance(300, 'ConfigEntityRevisionsRevertFormTest2');
  $this->instance
    ->displayUpdate();
}