public string[] GetContentItemsOrderedByStreetName(AddressTestCase addressTestCase) { var extractedContent = new ExtractedContent(); foreach (var address in addressTestCase.Addresses) { extractedContent.Add(new ContentItem { FirstName = string.Empty, LastName = string.Empty, Address = address }); } return(extractedContent.GetContentItemsOrderedByStreetName().Select(x => x.Address).ToArray()); }
public IList <string> GetByStreetNameLines() { var orderedByStreetName = _extractedContent.GetContentItemsOrderedByStreetName(); return(orderedByStreetName.Select(item => item.Address).ToList()); }