TransUnitUpdateRequest translateReq =
new TransUnitUpdateRequest(transUnitId, Lists.newArrayList("a",
"b"), ContentState.Approved, 0);
List<TranslationResult> result =
transService.translate(new LocaleId("de"),
Lists.newArrayList(translateReq));
verify(identity).checkPermission(eq("translation-review"),
isA(HProject.class), isA(HLocale.class));
assertThat(result.get(0).isTranslationSuccessful(), is(true));