diff --git a/Tests/Unit/Common/XmlDocumentTest.php b/Tests/Unit/Common/XmlDocumentTest.php index 3072ba3..07b145e 100644 --- a/Tests/Unit/Common/XmlDocumentTest.php +++ b/Tests/Unit/Common/XmlDocumentTest.php @@ -191,6 +191,12 @@ public function testSplitSymbols() //TODO: Should compare Json to Json, but splitsymbol Strings are not valid //->Discuss - self::assertTrue(true); + self::assertEquals(trim($this->processString($jsonString)),trim($this->processString($subject->toJson()))); + } + + private function processString(String $str) { + + return str_replace(array("\n"," "),'',$str); + } }