public void FixtureSetup() { var region = new CfRegion(null, null, null, null, null, null, null, null, null, null); Client = new SoapNumberClient(MockClient.User(), MockClient.Password()); RegionQuery = new CfRegionQuery(100, 0, region); SearchAvailableKeywords = new CfSearchAvailableKeywords(string.Empty); SearchAvailableNumbers = new CfSearchAvailableNumbers(null, true, 100); QueryKeywords = new CfQuery(); QueryNumbers = new CfQueryNumbers(100, 0, region, null); }
public RegionQuery(CfRegionQuery source) { MaxResults = source.MaxResults; FirstResult = source.FirstResult; Region = RegionMapper.ToRegion(source.Region); }
public CfRegionQueryResult QueryRegions(CfRegionQuery queryRegions) { var regionQueryResult = NumberService.QueryRegions(new RegionQuery(queryRegions)); return RegionQueryResultMapper.FromRegionQueryResult(regionQueryResult); }