Codebase c = new Codebase(f("/codebase"), "public",
e("public", ImmutableMap.<String, String>of()));
RevisionMetadata rm = new RevisionMetadata("rev1", "author", "data", "desc",
ImmutableList.<Revision>of());
SvnWriter e = new SvnWriter(mockConfig, null, f("/writer"));
DraftRevision r = e.putCodebase(c, rm);
control.verify();
assertEquals("/writer", r.getLocation());
}