public void Ensure_that_a_new_childs_movie_has_new_and_childrens_in_its_display_name() { var model = new Movie("A new childs movie", true, true); Assert.AreEqual("A new childs movie *new *childrens", model.GetDisplayName()); }
public void EnsureThatIfAMovieIsNewItsDisplayNameHasNewAppended() { var model = new Movie("Jaws", true); Assert.AreEqual("Jaws *new", model.GetDisplayName()); }
public void Ensure_that_a_childs_movie_has_Childrens_in_its_display_name() { var model = new Movie("A childs movie", false, true); Assert.AreEqual("A childs movie *childrens", model.GetDisplayName()); }
public void EnsureThatIfAMoveIsNotNewItsDisplayNameIsItsTitle() { var model = new Movie("Jaws", false); Assert.AreEqual(model.Title, model.GetDisplayName()); }