我正在使用application/jsonheader来控制我的Controller在收到请求时的行为方式。我的单元测试中的POST需要包含application/jsonheader。我试过:publicfunctiontestStore(){$this->validator->shouldReceive('validate')->once()->with($this->attributes)->andReturn(true);$this->repository->shouldReceive('create')->once()->with($this->attributes)->an