1<?php
2require_once 'PHPUnit/Framework.php';
3require_once dirname(__FILE__) . '/../src/gtAutoload.php';
4
5
6class gtCodeSnippetTest extends PHPUnit_Framework_TestCase
7{
8
9  public function testAppend() {
10    $array = array('something', 'nothing');
11    $array = gtCodeSnippet::append('loopClose', $array);
12    $this->assertEquals($array[2], '}');
13  }
14}
15?>
16