public void TestGetSetValue()
{
var config = new Config();
Assert.Throws <KeyNotFoundException>(() => config.SetOption("Test", "Test"));
Assert.IsFalse(config.HelpWithTesting);
Assert.AreEqual("False", config.GetOption("help_with_testing"));
config.SetOption("help_with_testing", "True");
Assert.Throws <FormatException>(() => config.SetOption("help_with_testing", "Test"));
Assert.IsTrue(config.HelpWithTesting);
Assert.AreEqual("True", config.GetOption("help_with_testing"));
config.SetOption("freshness", "10");
Assert.AreEqual(TimeSpan.FromSeconds(10), config.Freshness);
Assert.AreEqual("10", config.GetOption("freshness"));
}