Cake.OpenApiGenerator.ProcessArgumentBuilderExtensionsTest.AppendOptionalSwitch_FilePathValue_ContainsSwitchAndValue C# (CSharp) Метод

AppendOptionalSwitch_FilePathValue_ContainsSwitchAndValue() приватный Метод

private AppendOptionalSwitch_FilePathValue_ContainsSwitchAndValue ( ) : void
Результат void
        public void AppendOptionalSwitch_FilePathValue_ContainsSwitchAndValue()
        {
            args.AppendOptionalSwitch("--switch", new FilePath("example.xml"));

            Assert.IsTrue(args.Render().Contains("--switch example.xml"));
        }