Exemplo n.º 1
0
        public void Pull_Returns_Message_From_Adapter()
        {
            var expected = new Profile();

            _httpAdapter.Pull().Returns(expected);
            var actual = _messageQueue.Pull();

            Assert.That(actual, Is.EqualTo(expected));
        }
Exemplo n.º 2
0
 /// <summary>
 /// pulls message from remote queue
 /// </summary>
 /// <returns>a message form the queue</returns>
 public T Pull()
 {
     return(_httpAdapter.Pull());
 }