toRichTextObject($input); self::assertSame($expected, $actual->getPlainText()); } public function providerUtf8EncodingSupport() { return [ ['foo', 'foo'], ['können', 'können'], ['русский', 'русский'], ["foo\nbar", '

foo

bar

'], ]; } }