@Before public void init() { super.initOfx(); Status status = new Status(); status.setCode("myCode"); status.setLangs(new Langs()); status.setDescriptions(new Descriptions()); status.getLangs().getLang().add(XmlLangFactory.create(lang, "myLang")); status .getDescriptions() .getDescription() .add(XmlDescriptionFactory.create(lang, "myDescription")); xmlStatus = new Aht(); xmlStatus.getStatus().add(status); fOfx = new OfxStatusTableFactory(config, lang, translations); }