You are here

protected function AjaxResponseTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php \Drupal\Tests\Core\Ajax\AjaxResponseTest::setUp()
  2. 9 core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php \Drupal\Tests\Core\Ajax\AjaxResponseTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php, line 25

Class

AjaxResponseTest
@coversDefaultClass \Drupal\Core\Ajax\AjaxResponse @group Ajax

Namespace

Drupal\Tests\Core\Ajax

Code

protected function setUp() : void {
  $this->ajaxResponse = new AjaxResponse();
}