| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 5 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class Symfony2Test extends \PHPUnit\Framework\TestCase |
||
| 13 | { |
||
| 14 | private $object; |
||
| 15 | private $mock; |
||
|
|
|||
| 16 | |||
| 17 | |||
| 18 | protected function setUp() : void |
||
| 31 | } |
||
| 32 | |||
| 33 | |||
| 34 | public function testTransform() |
||
| 35 | { |
||
| 36 | $this->assertInstanceOf( '\Aimeos\MW\View\Helper\Request\Symfony2', $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 |