Exemplo n.º 1
0
        public void error_response()
        {
            var id     = new RequestId("error");
            var result = map.RegisterRequest <string>(id);

            map.OnResponse(RpcResponse.Error(id, new InvalidOperationException("Something something.")));

            Check.That(() => result.IsFaulted);
        }