public void ShouldApplyLabelIfTagOnSuccessTrue()
        {
            hg.TagOnSuccess = true;

            ExpectToExecuteArguments(@"tag -m ""Tagging CC.NET build foo"" -u CruiseControl.NET -f ccnet_build_foo", tempWorkDir);

            hg.LabelSourceControl(IntegrationResultMother.CreateSuccessful("foo"));
        }