public void SingleNewReleaseStatement() { customer.AddRental(new Rental(new Movie("The Cell", Movie.NEW_RELEASE), 3)); Assert.AreEqual("Rental Record for Fred\n\tThe Cell\t9\nYou owed 9\nYou earned 2 frequent renter points\n", customer.GetStatement()); }
public void TestSingleNewReleaseStatement() { _customer.AddRental(new Rental(new Movie("Thor: Ragnarok", PriceCode.NewRelease), 3)); Assert.Equal("Rental record for Casey\n\tThor: Ragnarok\t9\nAmount owed is 9\nYou earned 2 frequent renter points.", _customer.Statement()); }