public function testAutoload() { $this->assertFalse(cfhCompile_Loader::autoload('UNKNOWN_CLASS')); $this->assertEquals('cfhCompile_Loader', cfhCompile_Loader::autoload('cfhCompile_Loader')); if (!class_exists('cfhCompile_Exception', FALSE)) { $this->assertEquals('cfhCompile_Exception', cfhCompile_Loader::autoload('cfhCompile_Exception')); } else { $this->markTestIncomplete('cfhCompile_Exception class has already been loaded.'); } }