public void TestAppNameConstructorNameWithNoFile()
{
bool threw = false;
try
{
new Config("NoFileName");
}
catch (Exception e)
{
threw = true;
Assert.IsTrue(e.Message.Contains("NoFileName"), "Exception didn't contain the appName");
}
Assert.IsTrue(threw, "Failed to throw an exception when getting an empty string from the config.");
}