transResource.getTextFlowTargets().add(
buildTextFlowTarget(resId, content));
}
restCaller.asyncPushSource(projectSlug, iterationSlug, sourceResource, false);
restCaller.asyncPushTarget(projectSlug, iterationSlug, docId,
new LocaleId("pl"), transResource, "import");
assertThat(true, Matchers.is(true));
// create another version
restCaller.createProjectAndVersion(projectSlug, "2", projectType);
restCaller.asyncPushSource(projectSlug, "2", sourceResource, false);
restCaller.asyncPushTarget(projectSlug, "2", docId, new LocaleId("pl"),
transResource, "import");
// push to old version again
restCaller.asyncPushSource(projectSlug, iterationSlug, sourceResource,
COPYTRANS);