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