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)); }
public void Then_the_id_is_correct() { Assert.That(BoardingPassReader.GetBoardingPassId("FBFBBFFRLR"), Is.EqualTo(357)); }