public CreateRequest ( ) : |
||
return |
public HttpRequestMessage CreateRequest()
{
return _httpRequestBuilder.Build(this,new HttpRequestMessage());
}
public void DefaultLinkShouldCreateAGetRequest() { var link = new Link() { Target = new Uri("Http://localhost") }; var request = link.CreateRequest(); Assert.Equal(HttpMethod.Get,request.Method); }