public Scenario orAt(String id) { if (selectedSteps.isEmpty()) { throw new ReqPlayException("Call at() before orAt()"); } selectedSteps.add(mainFlow.get(id)); return this; }
public Scenario at(String id) { selectedSteps.clear(); selectedSteps.add(mainFlow.get(id)); return this; }