ex1.setValue(6);
in.add(ex1);
ex1.setValue(7);
in.add(ex1);
assertThat(tester.runFlow(new FoldFlowSimple(in.flow(), out.flow())), is(true));
List<Ex1> results = out.toList(new Comparator<Ex1>() {
@Override
public int compare(Ex1 o1, Ex1 o2) {
return o1.getStringOption().compareTo(o2.getStringOption());
}