@Test(expected = TaskExecutionException.class) public void invalid() throws TaskExecutionException { when(destinations.getPages()).thenReturn(Collections.EMPTY_SET); PageDestinationsSplitPages victim = new PageDestinationsSplitPages(destinations); victim.ensureIsValid(); }
@Override public void ensureIsValid() throws TaskExecutionException { delegate.ensureIsValid(); }
PageDestinationsSplitPages implements NextOutputStrategy { @Override public void ensureIsValid() throws TaskExecutionException { delegate.ensureIsValid(); } }
PageDestinationsSplitPages implements NextOutputStrategy { @Override public void ensureIsValid() throws TaskExecutionException { delegate.ensureIsValid(); } PageDestinationsSplitPages(OutlinePageDestinations destinations); }
PageDestinationsSplitPages implements NextOutputStrategy { @Override public void ensureIsValid() throws TaskExecutionException { delegate.ensureIsValid(); } PageDestinationsSplitPages(OutlinePageDestinations destinations); @Override void ensureIsValid(); @Override boolean isOpening(Integer page); @Override boolean isClosing(Integer page); }
PageDestinationsSplitPages implements NextOutputStrategy { @Override public void ensureIsValid() throws TaskExecutionException { delegate.ensureIsValid(); } PageDestinationsSplitPages(OutlinePageDestinations destinations); @Override void ensureIsValid(); @Override boolean isOpening(Integer page); @Override boolean isClosing(Integer page);  }