public function __construct() { //@todo consider to create FakeContainer class and move all setup there $this->container = new Container(); //@todo move it to common test setup file set_include_path('/home/developer/code/ai/config'); $this->adminUserService = $this->container->resolve('\\Ai\\AdminUserService'); }