public function textValidatorCreatesTheCorrectErrorIfTheSubjectContainsHtmlEntities() { $expected = [new Validation\Error('Valid text without any XML tags is expected.', 1221565786)]; $this->assertEquals($expected, $this->validator->validate('<span style="color: #BBBBBB;">a nice text</span>')->getErrors()); }