.andReturn("2 < uid@google.com < date < description < 1:parent1 2:parent2");
control.replay();
HgRevisionHistory revHistory = new HgRevisionHistory(Suppliers.ofInstance(mockRepo));
RevisionMetadata result = revHistory.getMetadata(new Revision("2", "mockrepo"));
assertEquals("2", result.id);
assertEquals("uid@google.com", result.author);
assertEquals("date", result.date);
assertEquals("description", result.description);
assertEquals(ImmutableList.of(new Revision("parent1", MOCK_REPO_NAME),
new Revision("parent2", MOCK_REPO_NAME)),
result.parents);
control.verify();
}