Пример #1
0
        public NumberReservationsServiceTest(MockHttpClientFixture mockHttpClientFixture)
            : base(mockHttpClientFixture)
        {
            this.service = new NumberReservationsService();

            this.createOptions = new NumberReservation
            {
                PhoneNumbers = new List <ReservedPhoneNumber>()
                {
                    new ReservedPhoneNumber
                    {
                        PhoneNumber = "+18665552368"
                    }
                }
            };
        }
        public NumberReservationsServiceTest(MockHttpClientFixture mockHttpClientFixture)
            : base(mockHttpClientFixture)
        {
            this.service     = new NumberReservationsService();
            this.listOptions = new NumberReservationsListOptions()
            {
                Status                  = "enabled",
                CreatedAtGt             = null,
                CreatedAtLt             = null,
                PhoneNumbersPhoneNumber = "9830094821",
                CustomerReference       = "Reference001"
            };

            this.createOptions = new NumberReservation
            {
                PhoneNumbers = new List <ReservedPhoneNumber>()
                {
                    new ReservedPhoneNumber
                    {
                        PhoneNumber = "+18665552368"
                    }
                }
            };
        }