use phpunit + IoC