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