public MediaSearchServiceTests()
        {
            movieDatabaseProxy = Substitute.For <IMovieDatabaseProxy>();
            memoryCacheAdapter = Substitute.For <IMemoryCacheAdapter>();

            sut = new MediaSearchService(movieDatabaseProxy, memoryCacheAdapter);
        }
Beispiel #2
0
 public MediaSearchService(IMovieDatabaseProxy movieDatabaseProxy, IMemoryCacheAdapter memoryCache)
 {
     this._movieDatabaseProxy = movieDatabaseProxy;
     this._memoryCache        = memoryCache;
 }