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