public static Request ( string url, HttpMethod httpMethod ) : RouteTestAssertions | ||
url | string | |
httpMethod | HttpMethod | |
Результат | RouteTestAssertions |
public static RouteTestAssertions Request(string url, HttpMethod httpMethod)
{
var routeTest = new RouteTest("http://test.com/" + url, httpMethod);
return new RouteTestAssertions(routeTest);
}