package bdd.embedders;
import bdd.steps.ManipulationSteps;
import bdd.steps.SharedSteps;
import org.jbehave.core.steps.InjectableStepsFactory;
import org.jbehave.core.steps.InstanceStepsFactory;
import java.util.HashMap;
import java.util.Map;
/**
* Class determines the step files and specific configuration for tests related to manipulation of the AST
*/
public class ManipulationEmbedder extends BasicJapaEmbedder {
@Override
public InjectableStepsFactory stepsFactory() {
Map<String, Object> state = new HashMap<String, Object>();
return new InstanceStepsFactory(configuration(),
new SharedSteps(state),
new ManipulationSteps(state));
}
}