testGetNextPage(providedPages, expectedPage, false);
}
private void testGetNextPage(final Page[] providedPages, Page expectedPage, boolean isBlank) {
final Flow flow = mock(Flow.class);
final PageSequence pseq = mock(PageSequence.class);
final Root root = mock(Root.class);
final AreaTreeHandler ath = mock(AreaTreeHandler.class);
when(flow.getFlowName()).thenReturn(MAIN_FLOW_NAME);
when(pseq.getMainFlow()).thenReturn(flow);
when(pseq.getRoot()).thenReturn(root);
PageSequenceLayoutManager sut = new PageSequenceLayoutManager(ath, pseq) {