| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class XmlTest extends TestCase |
||
| 9 | { |
||
| 10 | public function testToXml() |
||
| 11 | { |
||
| 12 | $expectedXml = '<test><name>test</name></test>'; |
||
| 13 | $this->assertSame($expectedXml, Xml::toXml('test', ['name' => 'test'])); |
||
| 14 | } |
||
| 15 | |||
| 16 | public function testFromXml() |
||
| 19 | } |
||
| 20 | |||
| 21 | public function testFromXmlInvalidString() |
||
| 26 |