userPointEntity = app(UserPointEntity::class); } /** * 测试添加积分 */ public function testAdd() { $this->userPointEntity->add(1, 100); } }