public EpisodeMetadataServiceTests() { _fileSystemService = Substitute.For <IFileSystemService>(); _metadataRepository = Substitute.For <IEpisodeMetadataRepository>(); _metadataUpdater = Substitute.For <ITvShowMetadataUpdater>(); _fileInformationService = Substitute.For <IFileInformationService>(); _path = @"C:\Folder\TV Shows\Game of Thrones\Season 3\3x09.mkv"; _service = new EpisodeMetadataService(_fileSystemService, _metadataRepository, _metadataUpdater, _fileInformationService); }
public EpisodeMetadataServiceTests() { _fileSystemService = Substitute.For<IFileSystemService>(); _metadataRepository = Substitute.For<IEpisodeMetadataRepository>(); _metadataUpdater = Substitute.For<ITvShowMetadataUpdater>(); _fileInformationService = Substitute.For<IFileInformationService>(); _path = @"C:\Folder\TV Shows\Game of Thrones\Season 3\3x09.mkv"; _service = new EpisodeMetadataService(_fileSystemService, _metadataRepository, _metadataUpdater, _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); }
public EpisodeMetadataService(IFileSystemService fileSystemService, IEpisodeMetadataRepository metadataRepository, ITvShowMetadataUpdater metadataUpdater, IFileInformationService fileInformationService) { _fileSystemService = fileSystemService; _metadataRepository = metadataRepository; _metadataUpdater = metadataUpdater; _fileInformationService = 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); }
/// <summary> /// Initializes a new instance of the <see cref="MovieMetadataService"/> class. /// </summary> /// <param name="fileSystemService">The file system service.</param> /// <param name="metadataRepository">The metadata repository.</param> /// <param name="metadataUpdater">The metadata updater.</param> /// <param name="synopsisService">The synopsis service.</param> /// <param name="imagesService">The images service.</param> /// <param name="fileInformationService">The file information service.</param> public MovieMetadataService(IFileSystemService fileSystemService, IMovieMetadataRepository metadataRepository, IMovieMetadataUpdater metadataUpdater, IMovieSynopsisService synopsisService, IMovieImagesService imagesService, IFileInformationService fileInformationService) { _fileSystemService = fileSystemService; _metadataRepository = metadataRepository; _metadataUpdater = metadataUpdater; _synopsisService = synopsisService; _imagesService = imagesService; _fileInformationService = fileInformationService; }