public DefaultController(IConstructUserInput constructInput, IValidateUrl validate, IDbService storage, IConvertUrl convert) { _constructInput = constructInput; _validateUrl = validate; _convertUrl = convert; _urlStorage = storage; }
public ConvertUrlTest() { _strategies = new StrategyList().Strategies; _context = new Context(new StrategyList()); _convertMethod = new ConvertUrl(_context); }