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
        }
예제 #2
0
 public void Setup()
 {
     controller = new TaxController(TestEngine.GetProfiles());
 }
예제 #3
0
 public void Setup() => service = new TaxService(TestEngine.GetProfiles());