@dilawar I only know #phpunit and what I learned is: don’t Test private methods
But I’m sure there are other frameworks which allow this 🤔🙃
Pattern? Just have two classes in a file and make sure phpunit loads all files to find all tests, or what do you mean?
If phpunit loads all the files, no autoload is needed, so less boilerplate 😅