| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function testTransform() |
||
| 31 | { |
||
| 32 | $mock = $this->getMockBuilder( 'TYPO3\CMS\Core\Routing\RouterInterface' ) |
||
| 33 | ->setMethods( array( 'generateUri', 'matchRequest' ) )->getMock(); |
||
| 34 | |||
| 35 | $stub = $this->getMockBuilder( 'Psr\Http\Message\UriInterface' )->getMock(); |
||
| 36 | |||
| 37 | $mock->expects( $this->once() )->method( 'generateUri' )->will( $this->returnValue( $stub ) ); |
||
| 38 | |||
| 39 | $object = new \Aimeos\MW\View\Helper\Url\T3Router( $this->view, $mock, [] ); |
||
| 40 | |||
| 41 | $this->assertEquals( '', $object->transform() ); |
||
| 42 | } |
||
| 44 |