public void TestAppNameConstructorBlankName() { bool threw = false; try { new Config(""); } catch (ArgumentException) { threw = true; } Assert.IsTrue(threw, "Failed to throw an exception when given a blank appName."); }