| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function testExportValues() |
||
| 11 | { |
||
| 12 | $this->assertSame('', DoctrineAnnotationDumper::exportValues(null)); |
||
| 13 | $this->assertSame('({})', DoctrineAnnotationDumper::exportValues([])); |
||
| 14 | $this->assertSame('("foo")', DoctrineAnnotationDumper::exportValues("foo")); |
||
| 15 | $this->assertSame('(foo = "bar")', DoctrineAnnotationDumper::exportValues(["foo"=>"bar"])); |
||
| 16 | $this->assertSame('(foo = {"bar":"baz", "baz":"bar"})', DoctrineAnnotationDumper::exportValues(["foo"=>["bar"=>"baz","baz"=>"bar"]])); |
||
| 17 | } |
||
| 18 | } |
||
| 19 |