public function setUp() { ActivePhp\Base::$adapter = new ActivePhp\MysqlAdapter(array('host' => 'localhost', 'username' => 'root', 'password' => '', 'database' => 'active_php_test')); $this->adapter = ActivePhp\Base::$adapter; ActivePhp\Base::$class = 'Test'; }