DataCollectorBaseTest.php in Devel 4.x
File
webprofiler/tests/src/Unit/DataCollector/DataCollectorBaseTest.php
View source
<?php
namespace Drupal\Tests\webprofiler\Unit\DataCollector;
use Drupal\Tests\UnitTestCase;
abstract class DataCollectorBaseTest extends UnitTestCase {
protected $request;
protected $response;
protected $exception;
public function setUp() {
parent::setUp();
$this->request = $this
->createMock('Symfony\\Component\\HttpFoundation\\Request');
$this->response = $this
->createMock('Symfony\\Component\\HttpFoundation\\Response');
$this->exception = $this
->createMock('Exception');
}
}