관리-도구
편집 파일: CreateCommentTests.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)); } }