Total Complexity | 6 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class FactoryTest extends \PHPUnit\Framework\TestCase |
||
13 | { |
||
14 | private $context; |
||
15 | |||
16 | |||
17 | protected function setUp() : void |
||
18 | { |
||
19 | $this->context = \TestHelperHtml::getContext(); |
||
20 | } |
||
21 | |||
22 | |||
23 | protected function tearDown() : void |
||
24 | { |
||
25 | unset( $this->context ); |
||
26 | } |
||
27 | |||
28 | |||
29 | public function testCreateClient() |
||
30 | { |
||
31 | $client = \Aimeos\Client\Html\Supplier\Detail\Factory::create( $this->context ); |
||
32 | $this->assertInstanceOf( '\\Aimeos\\Client\\Html\\Iface', $client ); |
||
33 | } |
||
34 | |||
35 | |||
36 | public function testCreateClientName() |
||
40 | } |
||
41 | |||
42 | |||
43 | public function testCreateClientNameInvalid() |
||
47 | } |
||
48 | |||
49 | |||
50 | public function testCreateClientNameNotFound() |
||
54 | } |
||
55 | |||
57 |