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