phpunit, dependency injection, mocking, testing a fake api