public void ConvertPassengerAdapter_PassedNonLoyaltyPassengerInfo_NoExtraBagAndLoyaltyShouldReturn(string passengerStr)
        {
            var result = InputAdapter.ConvertPassengerAdapter(passengerStr);

            Assert.That(result, Is.TypeOf(typeof(Passenger)));
            Assert.That(result, Is.Not.Null);
            Assert.That(result.HasExtraBag, Is.False);
            Assert.That(result.LoyaltyPoints, Is.EqualTo(0));
            Assert.That(result.MembershipType, Is.Not.Null);
            Assert.That(result.PassengerName, Is.Not.Null);
            Assert.That(result.UsingLoyaltyPoints, Is.False);
        }
        public void ConvertPassengerAdapter_PassedCorrectFormatInput_ShouldReturnPassengerObject(string passengerStr)
        {
            var result = InputAdapter.ConvertPassengerAdapter(passengerStr);

            Assert.That(result, Is.TypeOf(typeof(Passenger)));
            Assert.That(result, Is.Not.Null);
            Assert.That(result.HasExtraBag, Is.Not.Null);
            Assert.That(result.LoyaltyPoints, Is.Not.Null);
            Assert.That(result.MembershipType, Is.Not.Null);
            Assert.That(result.PassengerName, Is.Not.Null);
            Assert.That(result.UsingLoyaltyPoints, Is.Not.Null);
        }
        public void ConvertPassengerAdapter_PassedWrongFormatInput_ShouldReturnNull(string passengerStr)
        {
            var result = InputAdapter.ConvertPassengerAdapter(passengerStr);

            Assert.That(result, Is.Null);
        }