@Test(dataProvider = "TranslationTestData")
public void testPutGetTranslation(String desc, TranslationsResource sr) {
sr = cloneDTO(sr);
Resource res = resourceTestFactory.getTextFlowTest();
sourceDocResource.putResource(res.getName(), res, new StringSet(
"gettext;comment"));
log.debug("successful put resource:" + res.getName());
translationResource.putTranslations(res.getName(), DE, sr,
new StringSet("gettext;comment"));
TranslationsResource get =
translationResource.getTranslations(res.getName(), DE,
new StringSet("gettext;comment")).getEntity();
log.debug("expect:" + sr.toString());
log.debug("actual:" + get.toString());
ResourceTestUtil.clearRevs(sr);
ResourceTestUtil.clearRevs(get);
ResourceTestUtil.clearPoTargetHeaders(sr, get);