cmd.changeset(3).execute(new HgMergeCommand.MediatorBase());
RepoUtils.assertHgVerifyOk(errorCollector, repoLoc2);
new HgStatusCommand(repo).all().execute(status = new TestStatus.StatusCollector());
errorCollector.assertEquals(1, status.get(Kind.Modified).size());
errorCollector.assertEquals(create("file1"), status.get(Kind.Modified).get(0));
final HgMergeState ms = repo.getMergeState();
ms.refresh();
errorCollector.assertTrue(ms.isMerging());
errorCollector.assertFalse(ms.isStale());
errorCollector.assertFalse(ms.getStateParent().isNull());
errorCollector.assertEquals(1, ms.getConflicts().size());
final Entry entry = ms.getConflicts().get(0);
errorCollector.assertEquals(create("file1"), entry.getActualFile());
errorCollector.assertEquals(HgMergeState.Kind.Unresolved, entry.getState());
}