assertTrue(!empty(self::$settings)); } /** * Test the BaseDir. */ public function testBasedir() { $basedir = \HPCloud\Bootstrap::$basedir; $this->assertRegExp('/HPCloud/', $basedir); } /** * Test the autoloader. */ public function testAutoloader() { \HPCloud\Bootstrap::useAutoloader(); // If we can construct a class, we are okay. $test = new \HPCloud\Exception("TEST"); $this->assertInstanceOf('\HPCloud\Exception', $test); } }