public async Task gets_invoked() { var server = new TestHost((has, uses) => has.ResourcesNamed("cat") .AtUri("/cat") .HandledBy <CatHandler>()); (await server.Get("/cat")).StatusCode.ShouldBe(200); }