9 use Magento\Mtf\Fixture\FixtureFactory;
10 use Magento\Mtf\TestStep\TestStepInterface;
50 $this->deleteAllTaxRule = $deleteTaxRule;
61 if ($this->taxRule !==
null) {
62 $taxRuleDataSets = explode(
',', $this->taxRule);
63 foreach ($taxRuleDataSets as $taxRuleDataSet) {
64 $taxRule = $this->fixtureFactory->createByCode(
66 [
'dataset' => $taxRuleDataSet]
83 if ($this->taxRule !==
null) {
84 $this->deleteAllTaxRule->run();
__construct(FixtureFactory $fixtureFactory, DeleteAllTaxRulesStep $deleteTaxRule, $taxRule=null)