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