Exemple #1
0
 public MovieMetadataServiceTests()
 {
     _fileSystemService      = Substitute.For <IFileSystemService>();
     _metadataRepository     = Substitute.For <IMovieMetadataRepository>();
     _metadataUpdater        = Substitute.For <IMovieMetadataUpdater>();
     _synopsisService        = Substitute.For <IMovieSynopsisService>();
     _imagesService          = Substitute.For <IMovieImagesService>();
     _fileInformationService = Substitute.For <IFileInformationService>();
     _service = new MovieMetadataService(_fileSystemService, _metadataRepository, _metadataUpdater, _synopsisService, _imagesService, _fileInformationService);
 }
 public MovieMetadataServiceTests()
 {
     _fileSystemService = Substitute.For<IFileSystemService>();
     _metadataRepository = Substitute.For<IMovieMetadataRepository>();
     _metadataUpdater = Substitute.For<IMovieMetadataUpdater>();
     _synopsisService = Substitute.For<IMovieSynopsisService>();
     _imagesService = Substitute.For<IMovieImagesService>();
     _fileInformationService = Substitute.For<IFileInformationService>();
     _service = new MovieMetadataService(_fileSystemService, _metadataRepository, _metadataUpdater, _synopsisService, _imagesService, _fileInformationService);
 }