InOrder inOrder = inOrder(display, dispatcher);
inOrder.verify(display).startProcessing();
inOrder.verify(dispatcher).execute(getTMActionCaptor.capture(),
callbackCaptor.capture());
// verify action
GetTranslationMemory action = getTMActionCaptor.getValue();
assertThat(action.getSearchType(), Matchers.equalTo(SearchType.FUZZY));
assertThat(action.getLocaleId(), Matchers.equalTo(targetLocale));
assertThat(action.getSourceLocaleId(), Matchers.equalTo(sourceLocale));
assertThat(action.getQuery().getQueries(),
Matchers.contains("search query"));
}