public T CreateTestControllerWith <T>(
            IOnboardingLogic onboarding          = null,
            IHateoasHandlerFactory hateosFactory = null,
            IUserManager userManager             = null) where T : ApiController, new()
        {
            onboarding    = Eval <IOnboardingLogic>(Params.Onboarding, onboarding);
            hateosFactory = Eval <IHateoasHandlerFactory>(Params.HateoasHandlerFactory, hateosFactory);
            userManager   = Eval <IUserManager>(Params.UserManager, userManager);

            return(new OrderController(onboarding, hateosFactory, userManager) as T);
        }
        public void SetUp()
        {
            // IOnboardingLogic onboarding
            _onboarding = GetInst <IOnboardingLogic>();
            // IHateoasHandlerFactory _hateosFactory;
            _hateosFactory = GetInst <IHateoasHandlerFactory>();
            // IUserManager _userManager ;
            _userManager = GetInst <IUserManager>();

            dict = new Dictionary <Params, object>()
            {
                { Params.Onboarding, _onboarding },
                { Params.HateoasHandlerFactory, _hateosFactory },
                { Params.UserManager, _userManager },
            };

            base.Setup();
        }