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