public void Should_calculate_mercedes_van() { var quote = InsuranceQuote.CreateFrom("van", "Mercedes"); var premium = QuotationEngine.Calculate(quote); premium.GetCost().ShouldBe(2000); }
public void Should_calcualate_audi_van() { var quote = InsuranceQuote.CreateFrom("van", "Audi"); var premium = QuotationEngine.Calculate(quote); premium.GetCost().ShouldBe(1500); }
public void Should_calulcate_low_risk_tier_one_group() { var quote = InsuranceQuote.CreateFrom("van", "mercedes"); var premium = QuotationEngine.Calculate(quote); quote.Age = 36; premium.GetCost().ShouldBe(2000); }
public void should_calculate_tier_4_group() { var quote = InsuranceQuote.CreateFrom("van", "mercedes"); quote.Age = 17; var premium = QuotationEngine.Calculate(quote); premium.GetCost().ShouldBe(10000); }