fail('创建实例对象失败'); } $mysqli = SimpleFactory::createMysqli(); if (!$mysqli instanceof MysqliDriver) { $this->fail('创建实例对象失败'); } } }