<?php
require_once 'PHPUnit/Framework.php';
require_once 
dirname(__FILE__) . '/../src/gtAutoload.php';


class 
gtCodeSnippetTest extends PHPUnit_Framework_TestCase
{
  
  public function 
testAppend() {
    
$array = array('something''nothing');
    
$array gtCodeSnippet::append('loopClose'$array);
    
$this->assertEquals($array[2], '}');
  }
}
?>$optSect = new gtOptionalSections();
    
    $btc = gtErrorTestCase::getInstance($optSect);
    $btc->setFunction($f);
    $btc->constructTestCase();
    
    
    $fs = $btc->toString();
    $this->assertTrue(is_string($fs));
    
  }
  
}
?>