Exemplo n.º 1
0
        public void IsRequestHandled_Empty()
        {
            var message = new Message();
            var handler = new GetChangedEmployees();

            Assert.IsFalse(handler.IsRequestHandled(message));
        }
 public void IsRequestHandled_Other()
 {
     var message = new Message();
     message.Body = @"{""ResponseQueueName"":""b1a84e89-e5b9-4720-9235-dcf9605a59c3"",""StoreIdentifier"":""Sixeyed-CloudServiceBus-ResponseData""}";
     var handler = new GetChangedEmployees();
     Assert.IsFalse(handler.IsRequestHandled(message));
 }
 public void IsRequestHandled()
 {
     var message = new Message();
     message.Body = fixedBody;
     var handler = new GetChangedEmployees();
     Assert.IsTrue(handler.IsRequestHandled(message));
 }
Exemplo n.º 4
0
        public void IsRequestHandled_Other()
        {
            var message = new Message();

            message.Body = @"{""ResponseQueueName"":""b1a84e89-e5b9-4720-9235-dcf9605a59c3"",""StoreIdentifier"":""Sixeyed-CloudServiceBus-ResponseData""}";
            var handler = new GetChangedEmployees();

            Assert.IsFalse(handler.IsRequestHandled(message));
        }
Exemplo n.º 5
0
        public void IsRequestHandled()
        {
            var message = new Message();

            message.Body = fixedBody;
            var handler = new GetChangedEmployees();

            Assert.IsTrue(handler.IsRequestHandled(message));
        }
 public void IsRequestHandled_Empty()
 {
     var message = new Message();
     var handler = new GetChangedEmployees();
     Assert.IsFalse(handler.IsRequestHandled(message));
 }