public void CopyTravelNumberFromConfirmation_WhenConfirmationHasCorrectFormat_ThenReturnsCorrectValue()
        {
            var rewriterService = new RewriterService(StubConfirmation.PLNVersion());

            var actualTravelNumber = rewriterService.CopyTravelNumberFromConfirmation();

            Assert.AreEqual("HTG93P", actualTravelNumber);
        }
        public void CopyTravelNumberFromConfirmation_WhenConfirmationHasIncorrectFormat_ThenThrowsApplicationException()
        {
            var rewriterService = new RewriterService(StubConfirmation.IncorrectFormat());

            Assert.Throws <ApplicationException>(() => rewriterService.CopyTravelNumberFromConfirmation());
        }