/** * PermissionResolverTest constructor. */ public function __construct($name = null, array $data = array(), $dataName = '') { $this->userRepository = new User(); $this->permissionRepository = new Permission(); $this->roleRepository = new Role(); $this->groupRepository = new Group(); $this->faker = \Faker\Factory::create(); parent::__construct($name, $data, $dataName); }