public void CanBeCancelledBy_AnotherUser_ReturnFalse() { var user = new Unit_Tests.User(); var reservation = new Unit_Tests.Reservation(); var result = reservation.CanBeCancelledBy(user); Assert.IsFalse(result); }
public void CanCancelledBy_SameUserCancellingReservation_ReturnTrue() { var user = new Unit_Tests.User(); var reservation = new Unit_Tests.Reservation(); var result = reservation.CanBeCancelledBy(user); Assert.IsTrue(result); }