Пример #1
0
 public void CorrectValidateFilterMoviesByPGThrowsAnException()
 {
     Assert.Throws <InvalidFilteringParamsException>(() => FilteringValidation.ValidateFilterMoviesByPG(-1));
 }
Пример #2
0
 public void CorrectValidateFilterMoviesByGenreAndDurationThrowsAnException2()
 {
     Assert.Throws <InvalidFilteringParamsException>(() => FilteringValidation.ValidateFilterMoviesByGenreAndDuration(6, -10));
 }
Пример #3
0
 public void CorrectValidateFilterMoviesByGenreAndPGThrowsAnException1()
 {
     Assert.Throws <InvalidFilteringParamsException>(() => FilteringValidation.ValidateFilterMoviesByGenreAndPG(0, 12));
 }
Пример #4
0
 public void CorrectValidateFilterMovieThrowsAnException2()
 {
     Assert.Throws <InvalidFilteringParamsException>(() => FilteringValidation.ValidateFilterMovies(6, 2, -12));
 }