Exemplo n.º 1
0
 public void Setup()
 {
     _anagramSolverService = Substitute.For <IAnagramSolverService>();
     _cacheRepository      = Substitute.For <ICacheRepository>();
     cacheService          = new CacheService(_anagramSolverService, _cacheRepository);
 }
Exemplo n.º 2
0
 public CacheService(IAnagramSolverService anagramSolverService, ICacheRepository anagramCache)
 {
     _anagramSolverService = anagramSolverService;
     _anagramCache         = anagramCache;
 }