Back to index

php5  5.3.10
gtCodeSnippetTest.php
Go to the documentation of this file.
00001 <?php
00002 require_once 'PHPUnit/Framework.php';
00003 require_once dirname(__FILE__) . '/../src/gtAutoload.php';
00004 
00005 
00006 class gtCodeSnippetTest extends PHPUnit_Framework_TestCase
00007 {
00008   
00009   public function testAppend() {
00010     $array = array('something', 'nothing');
00011     $array = gtCodeSnippet::append('loopClose', $array);
00012     $this->assertEquals($array[2], '}');
00013   }
00014 }
00015 ?>