// Push a document and its translations
createResourceWithContentUsingPut();
TranslationsResource entity = new TranslationsResource();
TextFlowTarget target = new TextFlowTarget();
target.setResId("tf1");
target.setContents("hello world");
target.setState(ContentState.Approved);
target.setTranslator(new Person("root@localhost", "Admin user"));
entity.getTextFlowTargets().add(target);
ClientResponse<String> putResponse =
transResource.putTranslations("my.txt", de_DE, entity, null);
assertThat(putResponse.getResponseStatus(), is(Status.OK));