Codebase finalCb = new Codebase(new File("/final"), "public",
new RepositoryExpression(new Term("foo3", EMPTY_MAP)));
expect(cc.create(EMPTY_MAP)).andReturn(firstCb);
expect(translatorEditor.edit(firstCb, context, EMPTY_MAP)).andReturn(secondCb);
expect(e.getDescription()).andReturn("");
expect(e.edit(secondCb, context, EMPTY_MAP)).andReturn(finalCb);
control.replay();
Codebase c = Parser.parseExpression("foo>public|bar").createCodebase(context);