Assert that a given model does not exist in the database:
use App\Models\User; $user = User::factory()->create(); $user->delete(); $this->assertModelMissing($user);