D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
php70
/
usr
/
share
/
pear
/
test
/
XML_Util
/
tests
/
Filename :
CreateCommentTests.php
back
Copy
<?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)); } }