unit-testing/class-spy (packagist): a simple trait that aids in unit testing protected class methods
Keywords: testing|phpunit|trait