public void AppendOptionalSwitch_FilePathValue_ContainsSwitchAndValue() { args.AppendOptionalSwitch("--switch", new FilePath("example.xml")); Assert.IsTrue(args.Render().Contains("--switch example.xml")); }