Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | public function testSimplification() { |
||
37 | $this->assertEquals( |
||
38 | new ResourceListNode(array( |
||
39 | new StringResourceNode('foo'), |
||
40 | new StringResourceNode('bar') |
||
41 | )), |
||
42 | $this->buildSimplifier()->simplify(new UnionNode(array( |
||
43 | new ResourceListNode(array(new StringResourceNode('foo'))), |
||
44 | new ResourceListNode(array(new StringResourceNode('bar'))) |
||
45 | ))) |
||
46 | ); |
||
47 | } |
||
48 | } |
||
49 |