3 require_once 'PHPUnit.php';
5 class InternalTest
extends PHPUnit_TestCase
7 function InternalTest($name)
9 $this->PHPUnit_TestCase($name);
12 function testInternal()
14 $this->assertEquals('xyz', 'xyz');
15 $this->assertNull(NULL
, "Aiee! It's not null!");
16 $this->assertNotNull('notnull', "Aiee! It's null!");
17 $this->assertTrue(true
, "Feck! It's false!");
19 /* if (!method_exists($this, 'assertSubStr'))
21 die("You need a version of PHPUnit which supports assertSubStr. Apply\nassert.patch to your PHPUnit code. Hassle Matt if this makes no sense.\n");