Level 58
To check if the status of ID 28 is null, you can use the assertJson method instead of assertJsonFragment. Here's an example:
$response = $this->get('/api/users');
$response->assertJson(function ($json) {
$json->where('id', 28)
->where('vorname', 'Arthur')
->where('nachname', 'Adjon')
->whereNull('status');
});
This will check if the JSON response has an object with ID 28, first name "Arthur", last name "Adjon", and a null status. If any of these conditions are not met, the test will fail.