@Test public void simple() { Collection<Work> works = exec(new SimpleBatch()).getWorks(); assertThat(works.size(), is(1)); assertThat(dependencies(works, JobFlow1.class), isJust()); }
public Collection<Work> getWorks() { return new ArrayList<>(works.values()); }
BatchDescription { public Collection<Work> getWorks() { return new ArrayList<>(works.values()); } }
BatchDescription { public Collection<Work> getWorks() { return new ArrayList<>(works.values()); }  }
BatchDescription { public Collection<Work> getWorks() { return new ArrayList<>(works.values()); }  final void start(); Collection<Work> getWorks(); @Override String toString(); }
BatchDescription { public Collection<Work> getWorks() { return new ArrayList<>(works.values()); }  final void start(); Collection<Work> getWorks(); @Override String toString();  }