예제 #1
0
        public void Then_the_id_is_correct(string input, string errorMessage)
        {
            var error = Assert.Throws <ArgumentException>(() => BoardingPassReader.GetBoardingPassId(input));

            Assert.That(error.Message, Is.EqualTo(errorMessage));
        }
예제 #2
0
 public void Then_the_id_is_correct()
 {
     Assert.That(BoardingPassReader.GetBoardingPassId("FBFBBFFRLR"), Is.EqualTo(357));
 }