| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function testTransformTabSet() |
||
| 14 | { |
||
| 15 | $tab1 = new Tab('Main'); |
||
| 16 | $tab2 = new Tab('Settings'); |
||
| 17 | $tabSet = new TabSet('Root', 'Root', $tab1, $tab2); |
||
| 18 | |||
| 19 | $transformation = new PrintableTransformation(); |
||
| 20 | $result = $transformation->transformTabSet($tabSet); |
||
| 21 | |||
| 22 | $this->assertInstanceOf(PrintableTransformation_TabSet::class, $result); |
||
| 23 | $this->assertSame('Root', $result->Title()); |
||
| 24 | } |
||
| 26 |