createResponse() public method

Is responsible to take the generated data and prepare a response for it.
public createResponse ( ResponseData $data, OpenSkill\Datatable\Queries\QueryConfiguration $queryConfiguration, array $columnConfigurations ) : Symfony\Component\HttpFoundation\JsonResponse
$data OpenSkill\Datatable\Data\ResponseData The processed data.
$queryConfiguration OpenSkill\Datatable\Queries\QueryConfiguration the query configuration for the current request.
$columnConfigurations array the column configurations for the current data table.
return Symfony\Component\HttpFoundation\JsonResponse the response that should be returned to the client.
 public function testParse()
 {
     $cc = $this->version->parseRequest([]);
     $this->assertNotNull($cc);
     $rsp = $this->version->createResponse(new ResponseData(new Collection([]), 123), $cc, []);
     $this->assertNotNull($rsp);
 }