public async Task GetValueAsyncTest() { ConfigurationExposer exposer = new ConfigurationExposer(); exposer.GetValues["TEST"] = "This is my Test"; exposer.GetValues["TEST2"] = "Another Test"; exposer.GetValues["TITLE"] = "Title value"; Assert.AreEqual<String>("This is my Test", await exposer.GetValueAsync("test"), "Test value does not match"); Assert.AreEqual<String>("Another Test", await exposer.GetValueAsync("test2"), "Test2 value does not match"); Assert.AreEqual<String>("Title value", await exposer.GetValueAsync("title"), "Title value does not match"); Assert.IsNull(await exposer.GetValueAsync("cheese"), "cheese value was suppose to be null and was not"); }