public void ShouldReturnDeskBookingResultWithRequestValues() { DeskBookingResult result = _processor.BookDesk(_request); Assert.NotNull(_request); Assert.Equal(_request.FirstName, result.FirstName); Assert.Equal(_request.LastName, result.LastName); Assert.Equal(_request.Email, result.Email); Assert.Equal(_request.Date, result.Date); }
public void ShouldReturnBookingResultWithRequestValues() { //Arrange //CTOR //Act DeskBookingResult result = _processor.BookDesk(_request); //Assert Assert.NotNull(result); Assert.Equal(_request.FirstName, result.FirstName); Assert.Equal(_request.LastName, result.LastName); Assert.Equal(_request.Email, result.Email); Assert.Equal(_request.Date, result.Date); }
public void ShouldReturnDeskBookingResultWithRequestValues() { // Arrange var request = new DeskBookingRequest { FirstName = "Thomas", LastName = "Huber", Email = "*****@*****.**", Date = new DateTime(2020, 1, 28) }; // Act DeskBookingResult result = _processor.BookDesk(request); // Assert Assert.NotNull(result); Assert.Equal(request.FirstName, result.FirstName); Assert.Equal(request.LastName, result.LastName); Assert.Equal(request.Email, result.Email); Assert.Equal(request.Date, result.Date); }
public void ShouldReturnDeskBookingResultWithValueRequest() { var request = new DeskBookingRequest { FirstName = "Joms", LastName = "Huber", Email = "*****@*****.**", Date = new DateTime(2020, 2, 27) }; //Act DeskBookingResult result = _processor.BookDesk(request); //assert Assert.NotNull(result); Assert.Equal(request.FirstName, result.FirstName); Assert.Equal(request.LastName, result.LastName); Assert.Equal(request.Email, result.Email); Assert.Equal(request.Date, result.Date); }
public void ShouldReturnDeskBookingResultWithRequestValues() { //arrange var request = new DeskBookingRequest { FirstName = "Jon", LastName = "Smart", Email = "*****@*****.**", Date = new DateTime(2020, 10, 1) }; //act DeskBookingResult result = _processor.BookDesk(request); //assert Assert.NotNull(result); Assert.Equal(request.FirstName, result.FirstName); Assert.Equal(request.LastName, result.LastName); Assert.Equal(request.Email, result.Email); Assert.Equal(request.Date, result.Date); }
public void ShouldReturnDeskBookingResultWithRequestValues() { //act DeskBookingResult result = _processor.BookDesk(_request); //assert Assert.That(result, Is.Not.Null); Assert.That(_request.FirstName, Is.EqualTo(result.FirstName)); Assert.That(_request.LastName, Is.EqualTo(result.LastName)); Assert.That(_request.Email, Is.EqualTo(result.Email)); Assert.That(_request.Date, Is.EqualTo(result.Date)); }
public void ShouldReturnDeskBookingResultWithRequestValues() { // Act DeskBookingResult result = _processor.BookDesk(_request); // Assert Assert.NotNull(result); Assert.Equal(_request.Fn, result.Fn); Assert.Equal(_request.Ln, result.Ln); Assert.Equal(_request.Email, result.Email); Assert.Equal(_request.Date, result.Date); }
public void ShoulReturnDeskBookingResultWithRequestValues() { //var processor = new DeskBookingRequestProcessor(); DeskBookingResult result = _processor.BookDesk(_request); //Assert Assert.NotNull(result); Assert.Equal(_request.FirstName, result.FirstName); Assert.Equal(_request.LastName, result.LastName); Assert.Equal(_request.Email, result.Email); Assert.Equal(_request.Date, result.Date); }