Laravel - HTTP Tests - Assert Exact Json

Assert that the response contains an exact match of the given JSON data:

    
    $response->assertExactJson(array $data);