public void can_bind_to_request_cookies() { var model = new CookieModel{ Color = "Green", Direction = "South" }; Harness.Endpoints.GetByInput(model, configure: SetupCookies).ReadAsText() .ShouldEqual(model.ToString()); }
public void can_bind_to_request_cookies() { var model = new CookieModel { Color = "Green", Direction = "South" }; Harness.Endpoints.GetByInput(model, configure: SetupCookies).ReadAsText() .ShouldEqual(model.ToString()); }
public string get_cookie_data(CookieModel input) { return input.ToString(); }
public string get_cookie_data(CookieModel input) { return(input.ToString()); }