GetTransUnitListHandler handler =
new MockHandlerFactory()
.createGetTransUnitListHandlerWithBehavior(
DOCUMENT.getId(), TEXT_FLOWS, LOCALE,
action.getOffset(), action.getCount());
getTransUnitListResult = handler.execute(action, null);
return null;
}
}).when(dispatcher).execute(actionCaptor.capture(),
asyncCallbackCaptor.capture());
}