public void ShouldGetSuccessfulApplicatantsName()
        {
            var sut = new CreditCardApplicationServiceReference.CreditCardApplicationServiceClient();

            var application = new CreditCardApplication {
                ApplicantName = "Jack", ApplicantAgeInYears = 27, AirlineFrequentFlyerNumber = "W1234567"
            };

            var results = sut.SubmitApplication(application);

            Assert.That(results.ValidationErrors, Is.Empty);
            Assert.That(results.ReferenceNumber, Is.Not.Null);

            var successfulApplicant = sut.GetSuccesfulApplicantsName(results.ReferenceNumber.Value);

            Assert.That(successfulApplicant, Is.EqualTo("Jack"));
        }
        private string GetApplicantName(int refNumber)
        {
            var sut = new CreditCardApplicationServiceReference.CreditCardApplicationServiceClient();

            return(sut.GetSuccesfulApplicantsName(refNumber));
        }