UpdateTransUnit updateTransUnit = actionCaptor.getValue();
assertThat(updateTransUnit.getUpdateRequests(), hasSize(1));
assertThat(updateTransUnit.getUpdateType(),
equalTo(TransUnitUpdated.UpdateType.WebEditorSave));
TransUnitUpdateRequest request =
updateTransUnit.getUpdateRequests().get(0);
assertThat(request.getTransUnitId(), equalTo(TRANS_UNIT_ID));
assertThat(request.getNewContents(), Matchers.contains("new content"));
assertThat(request.getBaseTranslationVersion(), equalTo(VER_NUM));
assertThat(request.getNewContentState(), equalTo(ContentState.Approved));
assertThat(queue.hasPending(), Matchers.is(true));
}