public function it_converts_requests_into_slash_commands(Request $request, ParameterBag $post, ParameterBag $get) { $request->request = $post; $request->query = $get; $post->all()->willReturn($this->slashCommand); $this->convert($request)->shouldReturnAnInstanceOf('\\Crummy\\Phlack\\WebHook\\SlashCommand'); }