public void TestBasicUsageWithNoExeNameThrows()
{
try
{
var basicUsage = ArgUsage.GetUsage<BasicArgs>();
}
catch (Exception ex)
{
Assert.IsInstanceOfType(ex, typeof(InvalidOperationException));
Assert.IsTrue(ex.Message.ToLower().Contains("could not determine the name of your executable automatically"));
}
}