public void TestFileNameConstructorBlankAppName()
{
bool threw = false;
try
{
new Config(VALID_FILE, "");
}
catch (ArgumentException e)
{
threw = true;
Assert.IsTrue(e.Message.Contains(VALID_FILE), "Exception didn't contain the file");
}
Assert.IsTrue(threw, "Failed to throw an exception when given a blank appName.");
}