public void Setup() { calc = new TaxJarCalculator(); calc.ApiProfile = TestEngine.GetProfiles()[calc.ProfileName]; calc_bad = new TaxJarCalculator(); //Note that calc_bad does not have an ApiProfile set. This would occur if the ApiProfile configuration in the service was incorrect or missing }
public void Setup() { controller = new TaxController(TestEngine.GetProfiles()); }
public void Setup() => service = new TaxService(TestEngine.GetProfiles());