public void ObjectResponseMappedToContentType()
    {
        var name = new Name("first", "last");

        var handler = new RequestObjectHandlerFake(
            Method.Get,
            "/hello",
            () => Completes.WithSuccess(ObjectResponse <Name> .Of(ResponseStatus.Ok, name)));


        var response   = handler.Execute(Request.WithMethod(Method.Get), null, Logger).Await();
        var nameAsJson = JsonSerialization.Serialized(name);

        AssertResponsesAreEquals(
            Response.Of(ResponseStatus.Ok,
                        ResponseHeader.WithHeaders(ResponseHeader.ContentType, ContentMediaType.Json.ToString()),
                        nameAsJson),
            response);
    }