コード例 #1
0
        public void OtherTravelTests()
        {
            var lookup = new TravelAccountLookup
            {
                GroupTravel       = false,
                TravelerType      = TravelerType.Other,
                TravelPurposeCode = "SR",
                Destination       = "I"
            };

            Assert.AreEqual("6050", lookup.GetAccountNumber());
            Assert.AreEqual("6050", lookup.GetAccountNumber2());
        }
コード例 #2
0
        public void GroupTripTests()
        {
            var lookup = new TravelAccountLookup
            {
                GroupTravel       = true,
                TravelerType      = TravelerType.Other,
                TravelPurposeCode = "SR",
                Destination       = "O"
            };

            Assert.AreEqual("6035", lookup.GetAccountNumber());
            Assert.AreEqual("6035", lookup.GetAccountNumber2());
        }