You are here

public function RefreshPageElementsHelperTest::testNoStatusMessageBlockId in Commerce Ajax Add to Cart 8

Negative test getStatusMessagesBlockId().

@covers ::getStatusMessagesBlockId

File

tests/src/Kernel/RefreshPageElementsHelperTest.php, line 162

Class

RefreshPageElementsHelperTest
Tests RefreshPageElementsHelper methods.

Namespace

Drupal\Tests\dc_ajax_add_cart\Kernel

Code

public function testNoStatusMessageBlockId() {
  $this
    ->assertNull($this->refreshPageElementsHelper
    ->getStatusMessagesBlockId(), 'Status messages block is present.');
}