package org.jbehave.examples.core.stories.failing;

import org.jbehave.core.steps.InjectableStepsFactory;
import org.jbehave.core.steps.InstanceStepsFactory;
import org.jbehave.examples.core.CoreStory;
import org.jbehave.examples.core.service.TradingService;
import org.jbehave.examples.core.steps.FailingBeforeAfterSteps;
import org.jbehave.examples.core.steps.TraderSteps;

public class FailingBeforeAfter extends CoreStory {

    @Override
    public InjectableStepsFactory stepsFactory() {
        return new InstanceStepsFactory(configuration(), new TraderSteps(new TradingService()),
                new FailingBeforeAfterSteps());
    }

}
