public async Task ReflectString() { using (MockHttpServer.String(x => x)) { var client = HttpApiClient <IReflectString> .Create("http://localhost:8844/path"); var result = await client.ReflectString("foo"); Assert.AreEqual("foo", result); } }