public void Get() { var saveResult = config.Save("bar").Result; var result = config.Get <string>().Result; Assert.AreEqual(HttpStatusCode.OK, result.StatusCode); Assert.AreEqual("bar", result.Data); }
public async Task Get() { var saveResult = await config.Save("bar"); var result = await config.Get <string>(); Assert.AreEqual(HttpStatusCode.OK, result.StatusCode); Assert.AreEqual("bar", result.Data); EnqueueTestComplete(); }