TransUnitId firstItem = new TransUnitId(TEXT_FLOWS.get(0).getId());
assertThat(tableRowSelectedEvent.getSelectedId(),
Matchers.equalTo(firstItem));
// behaviour on GetTransUnitNavigation success
PageCountChangeEvent pageCountChangeEvent =
TestFixture.extractFromEvents(eventCaptor.getAllValues(),
PageCountChangeEvent.class);
assertThat(pageCountChangeEvent.getPageCount(), Matchers.is(2));
inOrder.verify(eventBus).fireEvent(LoadingEvent.FINISH_EVENT);
}