Beispiel #1
0
        public void AddMessageTest()
        {
            // TODO: add unit test for the method 'AddMessage'
            string    appId     = null; // TODO: replace null with proper value
            string    queueName = null; // TODO: replace null with proper value
            QueueBody body      = null; // TODO: replace null with proper value

            var response = instance.AddMessage(appId, queueName, body);

            Assert.IsInstanceOf <List <QueueMessage> > (response, "response is List<QueueMessage>");
        }
Beispiel #2
0
        public void ClearTest()
        {
            // TODO: add unit test for the method 'Clear'
            string    appId     = null; // TODO: replace null with proper value
            string    queueName = null; // TODO: replace null with proper value
            QueueBody body      = null; // TODO: replace null with proper value

            var response = instance.Clear(appId, queueName, body);

            Assert.IsInstanceOf <Queue> (response, "response is Queue");
        }
Beispiel #3
0
 public void Init()
 {
     instance = new QueueBody();
 }
Beispiel #4
0
 public void Init()
 {
     instance = new QueueBody();
 }