public void SaveMovieTest() { var target = new YAMJ(); MovieModel movieModel = this.CreateTestMovie(); MovieSaveSettings movieSaveSettings = new MovieSaveSettings { NormalFanartNameTemplate = "<fileName>-fanart", NormalPosterNameTemplate = "<fileName>", NormalNfoNameTemplate = "<fileName>.nfo" }; target.SaveMovie(movieModel); }
public void varGenerateMovieOutputTest() { var target = new YAMJ(); var movieModel = this.CreateTestMovie(); var output = target.GenerateMovieOutput(movieModel); Assert.IsFalse(string.IsNullOrEmpty(output)); }