There's usually more than one way to test something, and it's worth thinking about which approach you pick. Testing code that generates UUIDs is a good example. You could reach for regex, and it would work, but is there a better option?
In this video, I walk through a few different approaches and show you what Laravel provides to make it easier.
And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.
Here to help,
Joel
P.S. Want to level up your Laravel testing skills beyond just UUIDs? Check out our testing workshop.