ThrowingStage extends AbstractProcessStage { @Override public void process(LocalDocument doc) { throw new RuntimeException(); }  @Override void process(LocalDocument doc);  }
@Test(expected=RuntimeException.class) public void testProcessIsThrowing() throws Exception { stage.process(new LocalDocument()); }