Resource doc1 = putDoc1(false);
doc1.setRevision(1);
TextFlow tf1 = doc1.getTextFlows().get(0);
tf1.setRevision(1);
TranslationsResource target1 = putTarget1();
TextFlowTarget tft1 = target1.getTextFlowTargets().get(0);
tft1.setTextFlowRevision(1);
tft1.setRevision(1);
expectDocs(true, false, doc1);
expectTarget1(target1);
Resource doc2 = postDoc2(false);
doc2.setRevision(1);
TextFlow tf2 = doc2.getTextFlows().get(0);
tf2.setRevision(1);
TranslationsResource target2 = putTarget2();
TextFlowTarget tft2 = target2.getTextFlowTargets().get(0);
tft2.setTextFlowRevision(1);
tft2.setRevision(1);
expectDocs(true, false, doc1, doc2);
expectTarget1(target1);
expectTarget2(target2);
}