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