public List <FindProductInfoViewModel> FindMostRecentListings() { var domainList = FindProductInfoHelper.GetAllRecentProducts(); List <FindProductInfoViewModel> convertedList = createModel.MappingRecentListing(domainList); return(convertedList); }
public void Test_GetAllRecentProducts() { var sut = FindProductInfoHelper.GetAllRecentProducts(); Assert.NotEmpty(sut); }