public function RefreshPageElementsHelperTest::testStatusMessageBlockId in Commerce Ajax Add to Cart 8
Tests getStatusMessagesBlockId().
@covers ::getStatusMessagesBlockId
File
- tests/
src/ Kernel/ RefreshPageElementsHelperTest.php, line 151
Class
- RefreshPageElementsHelperTest
- Tests RefreshPageElementsHelper methods.
Namespace
Drupal\Tests\dc_ajax_add_cart\KernelCode
public function testStatusMessageBlockId() {
$this
->placeStatusMessagesBlock();
$this
->assertEquals($this->refreshPageElementsHelper
->getStatusMessagesBlockId(), $this->statusMessagesBlockId, 'Status messages block is not present.');
}