public void NullOrEmptyInputTest() { List <ListingEntity> listingList = null; AvailableCarsPercentualDistributionReport expectedResult = null; AvailableCarsPercentualDistributionReport result = _listingReports.CalculateAvailableCarsPercentualDistributionReport(listingList); result.Should().BeEquivalentTo(expectedResult); }
public void StandardInputTest() { List <ListingEntity> listingList = GenerateInputStandardTest(); AvailableCarsPercentualDistributionReport expectedResult = GenerateExpectedResultOnStandardTest(); AvailableCarsPercentualDistributionReport result = _listingReports.CalculateAvailableCarsPercentualDistributionReport(listingList); result.Should().BeEquivalentTo(expectedResult); }