public bool InvokingJsonService()
        {
            string name = Guid.NewGuid().ToString();
            var message = new JsonSerializedMessage(){
                Name = name
            };

            var response =
                _application.InvokeJson<JsonSerializedMessage>("http://localhost/fubu-testing/testpackage1/json/sendmessage", message);

            return response.Name == name;
        }
        public bool InvokingJsonService()
        {
            string name = Guid.NewGuid().ToString();
            var message = new JsonSerializedMessage(){
                Name = name
            };

            var httpResponse = _navigation.GetEndpointDriver().PostJson(message);

            var response= httpResponse.ReadAsJson<JsonSerializedMessage>();

            return response.Name == name;
        }
Exemple #3
0
 public JsonSerializedMessage SendMessage(JsonSerializedMessage input)
 {
     return(input);
 }
 public JsonSerializedMessage SendMessage(JsonSerializedMessage input)
 {
     return input;
 }