public void ShouldCheckForMultipleHeadsAndGetSource() { hg.MultipleHeadsFail = true; ExpectToExecuteWithArgumentsAndReturn("heads --template {rev}:", new ProcessResult("1:", "", 0, false)); ExpectToExecuteArguments("update", tempWorkDir); hg.GetSource(IntegrationResult()); }