/** * @dataProvider invalidSimpleStringsProvider * @param string $str */ public function testInvalidSimpleStrings($str) { $this->dom->load($str, true, false); $this->assertEquals($str, $this->dom . ''); $this->assertEquals($str, $this->dom->save()); }