| 1 | <?php |
||
| 5 | class Array2XMLTest extends \PHPUnit_Framework_TestCase |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @expectedException \Exception |
||
| 9 | * @expectedExceptionMessage [Array2XML] Illegal character in attribute name. attribute: #attribute1 in node: root |
||
| 10 | */ |
||
| 11 | public function testInvalidAttributeNameThrowsException() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @expectedException \Exception |
||
| 25 | * @expectedExceptionMessage [Array2XML] Illegal character in tag name. tag: #node in node: root |
||
| 26 | */ |
||
| 27 | public function testInvalidSimpleTagNameThrowsException() |
||
| 36 | } |
||
| 37 |