Calling
Notification::assertSentTo($user, InvoicePaid::class) in a Pest test still passes if a duplicate listener fires the email three times in a row. Swapping to Notification::assertSentToTimes($user, InvoicePaid::class, 1) caught a double observer registration for us today.commit e363f19