public Response Content(Func<byte[]> content) { content.ThrowIfNull("content"); _binaryContent = content; _stringContent = null; return this; }
public void SetUp() { _response = new Response(HttpStatusCode.OK); _response.Content(() => "content"); }