AppContextForTesting.initForTest();
IMocksControl control = EasyMock.createControl();
CommandRunner cmd = control.createMock(CommandRunner.class);
AppContext.RUN.cmd = cmd;
expect(cmd.runCommand("svn", ImmutableList.of("--no-auth-cache", "log", "--xml", "-l", "2",
"-r", "4:1", "http://foo/svn/trunk/"), ""))
.andReturn("<log><logentry revision=\"4\">" +
"<author>uid@google.com</author>" +
"<date>yyyy-mm-dd</date>" +
"<msg>message</msg></logentry>" +