php-8.3.11-linux/lib/php/pear/test/XML_Util/tests/CreateCommentTests.php

15 lines
340 B
PHP

<?php
class CreateCommentTests extends AbstractUnitTests
{
/**
* @covers XML_Util::createComment()
*/
public function testCreateCommentBasicUsage()
{
$original = "I am comment.";
$expected = "<!-- I am comment. -->";
$this->assertEquals($expected, XML_Util::createComment($original));
}
}