}
private Resource putPo1() {
String id = "foo.pot";
TextFlow textflow = newTextFlow("FOOD", "Slime Mould", "POT comment");
PotEntryHeader poData =
textflow.getExtensions(true).findOrAddByType(
PotEntryHeader.class);
poData.setContext("context");
List<String> flags = poData.getFlags();
flags.add("no-c-format");
flags.add("flag2");
List<String> refs = poData.getReferences();
refs.add("ref1.xml:7");
refs.add("ref1.xml:21");
Resource doc = newDoc(id, textflow);
PoHeader poHeader = new PoHeader();