示例#1
0
        public void ShouldSucceedWhenShowIsMovedToTheCorrectLocation()
        {
            Show ShowToMove = new Show(sourceFileNameAndPath);

             ShowMover ShowsMover = new ShowMover(CreateOrganisationConfiguration());
             ShowsMover.Move(ShowToMove);
             string destinationFilenameAndPath = Path.Combine(Path.Combine(destinationFolder, ShowName), SourceFilename);
             Assert.AreEqual(true, File.Exists(destinationFilenameAndPath));
        }
示例#2
0
 public ShowOrganizer(ShowCollector ShowCollector, ShowMover ShowMover, SubtitleDownloader subtitleDownloader)
 {
     this.ShowCollector = ShowCollector;
      this.ShowMover = ShowMover;
      this.subtitleDownloader = subtitleDownloader;
 }