| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class BaseTest extends \PHPUnit\Framework\TestCase |
||
| 14 | { |
||
| 15 | private $stub; |
||
| 16 | private $object; |
||
| 17 | |||
| 18 | |||
| 19 | protected function setUp() : void |
||
| 20 | { |
||
| 21 | $context = \TestHelperJobs::context(); |
||
| 22 | $aimeos = \TestHelperJobs::getAimeos(); |
||
| 23 | |||
| 24 | $this->stub = $this->getMockBuilder( \Aimeos\Controller\Jobs\Iface::class )->getMock(); |
||
| 25 | $this->object = new TestBase( $this->stub, $context, $aimeos ); |
||
| 26 | } |
||
| 27 | |||
| 28 | |||
| 29 | protected function tearDown() : void |
||
| 32 | } |
||
| 33 | |||
| 34 | |||
| 35 | public function testGetContext() |
||
| 38 | } |
||
| 39 | |||
| 40 | |||
| 41 | public function testGetAimeos() |
||
| 42 | { |
||
| 43 | $this->assertInstanceOf( \Aimeos\Bootstrap::class, $this->object->getAimeosPublic() ); |
||
| 44 | } |
||
| 45 | |||
| 46 | |||
| 47 | public function testCall() |
||
| 50 | } |
||
| 51 | |||
| 52 | } |
||
| 68 |