public MySpecialContinuation post_special(SpecialInput input) { return(new MySpecialContinuation { Name = input.Name }); }
public MySpecialContinuation post_special(SpecialInput input) { return new MySpecialContinuation { Name = input.Name }; }
public void get_output_from_custom_continuation() { var specialInput = new SpecialInput {Name = "somebody"}; TestHost.Scenario(_ => { _.Post.Json(specialInput); _.ContentShouldBe("{\"success\":false,\"refresh\":false,\"name\":\"somebody\"}"); _.ContentTypeShouldBe(MimeType.Json); }); }
public void get_output_from_custom_continuation() { var specialInput = new SpecialInput { Name = "somebody" }; TestHost.Scenario(_ => { _.Post.Json(specialInput); _.ContentShouldBe("{\"success\":false,\"refresh\":false,\"name\":\"somebody\"}"); _.ContentTypeShouldBe(MimeType.Json); }); }