public function seeJson(array $data = null, $negate = false)
{
if (is_null($data)) {
$this->phpunit->assertJson($this->response->content(), "Failed asserting that JSON returned [{$this->request->path}].");
return $this;
}
return $this->seeJsonContains($data, $negate);
}