public void ShouldApplyLabelIfTagOnSuccessTrue() { ExpectToExecuteArguments(string.Format(@"copy -m ""CCNET build foo"" {0} svn://someserver/tags/foo/foo --no-auth-cache --non-interactive", StringUtil.AutoDoubleQuoteString(DefaultWorkingDirectory))); svn.TagOnSuccess = true; svn.LabelSourceControl(IntegrationResultMother.CreateSuccessful("foo")); }