@Test(expected = TaskExecutionException.class)
public void invalid() throws TaskExecutionException {

    when(destinations.getPages()).thenReturn(Collections.EMPTY_SET);
    PageDestinationsSplitPages victim = new PageDestinationsSplitPages(destinations);
    victim.ensureIsValid();
}