@Test public void testActivate() { LinkedHashMap<String, Step> stringStepLinkedHashMap = new LinkedHashMap<>(); stringStepLinkedHashMap.put("foo", stepMock); expect(plan.getStepsMap()).andReturn(stringStepLinkedHashMap); stepMock.activate(); plan.setActive(true); replay(); plan.activate(); }
@Override public synchronized void activate() { getStepsMap().values().forEach(Step::activate); this.setActive(true); }
PlanImpl implements Plan { @Override public synchronized void activate() { getStepsMap().values().forEach(Step::activate); this.setActive(true); } }
PlanImpl implements Plan { @Override public synchronized void activate() { getStepsMap().values().forEach(Step::activate); this.setActive(true); } protected  PlanImpl(); }
PlanImpl implements Plan { @Override public synchronized void activate() { getStepsMap().values().forEach(Step::activate); this.setActive(true); } protected  PlanImpl(); @Override Step[] getSteps(); @Override Step[] getExecutableSteps(); @Override String getDocIdField(); @Override Step findStep(String stepName); @Override BufferedImage visualize(); @Override synchronized void activate(); @Override synchronized void deactivate(); @Transient @Override synchronized boolean isActive(); @Override void advertise(); @Override void stopAdvertising(); @Override void acceptJiniRequests(); @Override void denyJiniRequests(); @Override boolean readyForJiniRequests(); @Override String getName(); }
PlanImpl implements Plan { @Override public synchronized void activate() { getStepsMap().values().forEach(Step::activate); this.setActive(true); } protected  PlanImpl(); @Override Step[] getSteps(); @Override Step[] getExecutableSteps(); @Override String getDocIdField(); @Override Step findStep(String stepName); @Override BufferedImage visualize(); @Override synchronized void activate(); @Override synchronized void deactivate(); @Transient @Override synchronized boolean isActive(); @Override void advertise(); @Override void stopAdvertising(); @Override void acceptJiniRequests(); @Override void denyJiniRequests(); @Override boolean readyForJiniRequests(); @Override String getName();  }