Exemplo 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;
 }
Exemplo n.º 2
0
 public Scenario at(String id) {
   selectedSteps.clear();
   selectedSteps.add(mainFlow.get(id));
   return this;
 }