Comparators are a way to introduce a custom comparation logic in your #phpunit tests. assertEquals is dead. Long live assertEquals.https://php.budgegeria.de/PbzcnengbeGrfg
I used it in the past but I never did a code snippet about it. #php
Open source. Open community. We are dedicated to building and enriching the PHP community.