コード例 #1
0
ファイル: SanitizerTest.php プロジェクト: ming-hai/XoopsCore
 /**
  * @covers Xoops\Core\Text\Sanitizer::undoHtmlSpecialChars
  */
 public function testUndoHtmlSpecialChars()
 {
     $text = '><"' ';
     $message = $this->object->undohtmlSpecialChars($text);
     $this->assertSame('><"\'&nbsp;', $message);
 }