Generating test data with Bogus
In Chapter 6, I mentioned that tests are a form of documentation that explains how your system should work.
Keeping that in mind, look at the following test, which tests the interaction of the Passenger and BoardingProcessor classes:
[Fact]
public void BoardingMessageShouldBeAccurate() {
  // Arrange
  Passenger passenger = new() {
    BoardingGroup = 7,
    FirstName = "Dot",
    LastName = "Nette",
    MailingCity = "Columbus",
    MailingStateOrProvince = "Ohio",
    MailingCountry = "United States",
    MailingPostalCode = "43081",
    Email = "noreply@packt.com",
    RewardsId = "CSA88121",
    RewardMiles = 360,
    IsMilitary...