public void Get_Rental_Returns_A_Rental() { var expectedRental = new Rental(); rentalRepo.GetById(1).Returns(expectedRental); var result = sut.GetRental(1); Assert.Equal(expectedRental, result); }
public void Get_Rental_Returns_A_Rental() { var expectedRental = new Rental(); rentalRepo.GetById(1).Returns(expectedRental); var result = sut.GetRental(1); Assert.Equal(expectedRental, result); }