Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class Typo3Test extends \PHPUnit\Framework\TestCase |
||
13 | { |
||
14 | private $context; |
||
|
|||
15 | private $object; |
||
16 | private $stub; |
||
17 | |||
18 | |||
19 | protected function setUp() : void |
||
20 | { |
||
21 | $context = \TestHelper::context(); |
||
22 | $this->stub = $this->getMockBuilder( \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface::class )->getMock(); |
||
23 | |||
24 | $this->object = new \Aimeos\MAdmin\Cache\Manager\Typo3( $context ); |
||
25 | } |
||
26 | |||
27 | |||
28 | protected function tearDown() : void |
||
31 | } |
||
32 | |||
33 | |||
34 | public function testSetCache() |
||
35 | { |
||
36 | $this->assertInstanceOf( \Aimeos\MAdmin\Cache\Manager\Iface::class, $this->object->setCache( $this->stub ) ); |
||
37 | } |
||
38 | |||
39 | |||
40 | public function testGetCache() |
||
44 | } |
||
45 | } |
||
46 |