public QueryNumbers(CfQueryNumbers source)
 {
     MaxResults = source.MaxResults;
     FirstResult = source.FirstResult;
     Region = RegionMapper.ToRegion(source.Region);
     LabelName = source.LabelName;
 }
 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 CfNumberQueryResult QueryNumbers(CfQueryNumbers queryNumbers)
 {
     var numberQueryResult = NumberService.QueryNumbers(new QueryNumbers(queryNumbers));
     return NumberQueryResultMapper.FromNumberQueryResult(numberQueryResult);
 }