ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
AbstractBaseTestCase.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\HTTP
;
20
22
use
PHPUnit\Framework\MockObject\MockObject
;
23
use
PHPUnit\Framework\TestCase
;
24
use
Psr\Http\Message\RequestInterface
;
25
use
Psr\Http\Message\ServerRequestInterface
;
26
31
abstract
class
AbstractBaseTestCase
extends
TestCase
32
{
36
protected
MockObject
$request_interface
;
37
41
protected
function
setUp
(): void
42
{
43
parent::setUp();
44
$this->request_interface = $this->createMock(ServerRequestInterface::class);
45
}
46
}
ILIAS\HTTP
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\HTTP\AbstractBaseTestCase\setUp
setUp()
Definition:
AbstractBaseTestCase.php:41
ILIAS\HTTP\AbstractBaseTestCase\$request_interface
MockObject $request_interface
Definition:
AbstractBaseTestCase.php:36
MockObject
ServerRequestInterface
RequestInterface
ILIAS\HTTP\AbstractBaseTestCase
Class AbstractBaseTest.
Definition:
AbstractBaseTestCase.php:31
TestCase
components
ILIAS
HTTP
tests
Services
AbstractBaseTestCase.php
Generated on Wed Sep 3 2025 23:03:11 for ILIAS by
1.8.13 (using
Doxyfile
)