public void WhenIProcessTheRequestWithTheData(string json) { var encoding = new UTF8Encoding(); var data = encoding.GetBytes(json); var bytes = ClientRequestProcessor.Process(data); Result = encoding.GetString(bytes); }
public void GivenAClientRequestProcessor() { ClientRequestProcessor = new ClientRequestProcessor(CommandLocator, new JsonRequestParser()); }