Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class LaravelTest extends \PHPUnit\Framework\TestCase |
||
13 | { |
||
14 | private $object; |
||
15 | private $mock; |
||
16 | |||
17 | |||
18 | protected function setUp() : void |
||
25 | } |
||
26 | |||
27 | |||
28 | protected function tearDown() : void |
||
29 | { |
||
30 | unset( $this->object, $this->mock ); |
||
31 | } |
||
32 | |||
33 | |||
34 | public function testTransform() |
||
35 | { |
||
36 | $this->assertInstanceOf( '\Aimeos\Base\View\Helper\Request\Laravel', $this->object->transform() ); |
||
37 | } |
||
38 | |||
39 | |||
40 | public function testGetClientAddress() |
||
41 | { |
||
42 | $this->assertEquals( '127.0.0.1', $this->object->getClientAddress() ); |
||
43 | } |
||
44 | |||
45 | |||
46 | public function testGetTarget() |
||
49 | } |
||
50 | } |
||
51 |