public TranslationsResource getTestObject2() {
TranslationsResource entity = new TranslationsResource();
TextFlowTarget target = new TextFlowTarget("rest1");
target.setContents("hello world");
target.setState(ContentState.Approved);
target.setTranslator(new Person("root@localhost", "Administrator"));
target.getExtensions(true);
TextFlowTarget target2 = new TextFlowTarget("rest2");
target2.setContents("greeting world");
target2.setState(ContentState.Approved);
target2.setTranslator(new Person("root@localhost", "Administrator"));
target2.getExtensions(true);
entity.getTextFlowTargets().add(target2);
entity.getExtensions(true);
log.debug(entity.toString());
return entity;