Alquimiaware.NuGetUnity.Tests.CommandArgsBuilderTests.BaseFeatures.ToString_HadOneSource_IncludesSource C# (CSharp) Method

ToString_HadOneSource_IncludesSource() private method

private ToString_HadOneSource_IncludesSource ( ) : void
return void
            public void ToString_HadOneSource_IncludesSource()
            {
                var localRepo = @"Z:/MyRepo/";
                var anyCommand = CreateAnyCommandBuilder(localRepo);

                string anyCommandArgs = anyCommand.ToString();
                // Expected output must contain some, including ""
                // -Source "source1path;source2Path"
                // Questions:
                // - Does the order matter? In which way?
                // - What if nuget can't resolve a path
                // - What if can't reach the remote path
                AssertContainsOption(
                    anyCommandArgs,
                    "Source",
                    string.Format("\"{0}\"", localRepo));
            }