예제 #1
0
        /// <summary>
        /// GetFakeBillingAccountIdDto - returns fake BillingAccountIdDto object
        /// </summary>
        /// <param name="subscriberID"></param>
        /// <param name="fakePhoneNumberAsIdDto"></param>
        /// <returns></returns>
        public BillingAccountIdDto GetFakeBillingAccountIdDto(string subscriberID, PhoneNumberAsIdDto fakePhoneNumberAsIdDto)
        {
            var fakeBillingAccountIdDto = new BillingAccountIdDto()
            {
                UniversalServiceId = subscriberID,
                PhoneNumberAsId = fakePhoneNumberAsIdDto
            };

            return fakeBillingAccountIdDto;
        }
예제 #2
0
        /// <summary>
        /// GetFakePhoneNumberAsIdDto - returns fake PhoneNumberAdIdDto object
        /// </summary>
        /// <param name="subscriberContactPhone"></param>
        /// <returns></returns>
        public PhoneNumberAsIdDto GetFakePhoneNumberAsIdDto(string subscriberContactPhone)
        {
            var fakeTelephoneNumberDto = new TelephoneNumberDto()
            {
                Number = subscriberContactPhone
            };

            var fakePhoneNumberAsIdDto = new PhoneNumberAsIdDto()
            {
                TelephoneNumber = fakeTelephoneNumberDto
            };

            return fakePhoneNumberAsIdDto;
        }