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