PHPUnit allows us to DRY up our tests with Data Providers, which are methods that allow you to execute a single test multiple times, with… — Countless are the times I’ve had to test for validation errors, and countless are the times I’ve repeated the same code for this purpose. Duplicating testing code is not always a bad thing though, but for validation errors, I don’t know, it doesn’t feel right. If it is acceptable to…