public void TestRun_WithInvalidArgs_ExpectException()
{
var args = new string[] { "/SomeArg=SomeValue" };
Xunit.Assert.Throws<ArgumentException>(() => this.preProcessorRunner.Run(args));
args = new string[] { "/SomeArg=SomeValue", "/SourceFile=someFile.xml", "/StaticPropertiesFile=somePropertiesFile.xml" };
Xunit.Assert.Throws<ArgumentException>(() => this.preProcessorRunner.Run(args));
args = new string[] { "/SomeArg=SomeValue", "/SourceFile=someFile.xml", "/StaticPropertiesFile=somePropertiesFile.xml", "/OverridesFile=someOverridesFile.xml" };
Xunit.Assert.Throws<ArgumentException>(() => this.preProcessorRunner.Run(args));
args = new string[] { "/SourceFile=someFile.xml", "/StaticPropertiesFile=somePropertiesFile.xml" };
Xunit.Assert.Throws<ArgumentException>(() => this.preProcessorRunner.Run(args));
args = new string[] { "/DestinationFile=someOtherFile.xml", "/StaticPropertiesFile=somePropertiesFile.xml" };
Xunit.Assert.Throws<ArgumentException>(() => this.preProcessorRunner.Run(args));
args = new string[] { "/SourceFile=someFile.xml", "/StaticPropertiesFile=somePropertiesFile.xml", "/ManifestFile=someManifestFile.xml" };
Xunit.Assert.Throws<ArgumentException>(() => this.preProcessorRunner.Run(args));
args = new string[] { "/DestinationFile=someOtherFile.xml", "/StaticPropertiesFile=somePropertiesFile.xml", "/ManifestFile=someManifestFile.xml" };
Xunit.Assert.Throws<ArgumentException>(() => this.preProcessorRunner.Run(args));
args = new string[] { "/SourceFile=someFile.xml", "/DestinationFile=someOtherFile.xml", "/StaticPropertiesFile=somePropertiesFile.xml", "/ManifestFile=someManifestFile.xml" };
Xunit.Assert.Throws<ArgumentException>(() => this.preProcessorRunner.Run(args));
}