public void Calc_1_Dependent_1_ANameDecorator_AName() { BenefitBase bb = new BenefitBase(_benefitRepository); DependentDecorator dd = new DependentDecorator(bb); ANameDecorator ad = new ANameDecorator(dd, "xdfsde tttreeee Areess"); Assert.AreEqual(ad.GetCost(), 1350M); }
public void Calc_1_ANameDecorator_LowerA_LastName() { BenefitBase bb = new BenefitBase(_benefitRepository); ANameDecorator ad = new ANameDecorator(bb, "asdfbert afjkddd"); Assert.AreEqual(ad.GetCost(), 900M); }
public void Calc_1_ANameDecorator_NonA() { BenefitBase bb = new BenefitBase(_benefitRepository); ANameDecorator ad = new ANameDecorator(bb, "tudfjf gdgfsd"); Assert.AreEqual(ad.GetCost(), _baseCost); }
public void Calc_1_ANameDecorator_CapitalA_LastName() { BenefitBase bb = new BenefitBase(_benefitRepository); ANameDecorator ad = new ANameDecorator(bb, "bblbert Asdfasdf"); Assert.AreEqual(ad.GetCost(), 900M); }