protected function HttpKernelTest::assertResponseEquals

4 calls to HttpKernelTest::assertResponseEquals()
HttpKernelTest::testHandleWhenTheControllerIsAFunction in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php
HttpKernelTest::testHandleWhenTheControllerIsAnArray in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php
HttpKernelTest::testHandleWhenTheControllerIsAnObjectWithInvoke in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php
HttpKernelTest::testHandleWhenTheControllerIsAStaticArray in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php, line 269

Class

HttpKernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

protected function assertResponseEquals(Response $expected, Response $actual) {
  $expected
    ->setDate($actual
    ->getDate());
  $this
    ->assertEquals($expected, $actual);
}