assertTrue(class_exists('Asra_Export_Format_Json')); Asra_Core_Loader::autoload('Asra_Export_Format_Json'); } public function testAutoLoadPath() { $test1 = new Test_Package_Class(); $this->assertTrue(class_exists('Test_Package_Class')); $test2 = new Test_Package_Class(); } public function testAutoLoadPathClassMissing() { $this->setExpectedException('Asra_Core_Exception'); Asra_Core_Loader::autoload('Test_Package_Missing'); } }