The Unit Test Helpers Library provides a set of useful and robust helpers that you can quickly drop into your own project to save you time and effort when writing unit tests.
Run this command from your Terminal:
composer require-dev ganbarodigital/php-mv-unit-test-helpers
See http://ganbarodigital.github.io/php-mv-unit-test-helpers/.