We can use PHPUnit's Assert::readAttribute() to get attributes and pass them along to assert methods as SUT. This will allow us to handle attribute assertions not already exposed by PHPUnit. Pick the highest quality/priority assertions and add functionality for them.
We can use PHPUnit's
Assert::readAttribute()
to get attributes and pass them along to assert methods as SUT. This will allow us to handle attribute assertions not already exposed by PHPUnit. Pick the highest quality/priority assertions and add functionality for them.