コード例 #1
0
        public void WhenIProcessTheRequestWithTheData(string json)
        {
            var encoding = new UTF8Encoding();
            var data     = encoding.GetBytes(json);
            var bytes    = ClientRequestProcessor.Process(data);

            Result = encoding.GetString(bytes);
        }
コード例 #2
0
 public void GivenAClientRequestProcessor()
 {
     ClientRequestProcessor = new ClientRequestProcessor(CommandLocator, new JsonRequestParser());
 }