public function testRenderJson() { $datatable = new Datatable($this->config); $this->assertJson('{"iTotalRecords":0,"iTotalDisplayRecords":0,"aaData":[],"sEcho":1}', $datatable->process([])->toJson()); }