class DataCollectorBaseTest

Class DataCollectorBaseTest.

@group webprofiler

Hierarchy

  • class \Drupal\Tests\webprofiler\Unit\DataCollector\DataCollectorBaseTest extends \Drupal\Tests\UnitTestCase

Expanded class hierarchy of DataCollectorBaseTest

File

webprofiler/tests/src/Unit/DataCollector/DataCollectorBaseTest.php, line 12

Namespace

Drupal\Tests\webprofiler\Unit\DataCollector
View source
abstract class DataCollectorBaseTest extends UnitTestCase {
    
    /**
     * @var
     */
    protected $request;
    
    /**
     * @var
     */
    protected $response;
    
    /**
     * @var
     */
    protected $exception;
    
    /**
     * {@inheritdoc}
     */
    public function setUp() {
        parent::setUp();
        $this->request = $this->getMock('Symfony\\Component\\HttpFoundation\\Request');
        $this->response = $this->getMock('Symfony\\Component\\HttpFoundation\\Response');
        $this->exception = $this->getMock('Exception');
    }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
DataCollectorBaseTest::$exception protected property @var
DataCollectorBaseTest::$request protected property @var
DataCollectorBaseTest::$response protected property @var
DataCollectorBaseTest::setUp public function 2