Example #1
0
        public virtual void ShouldReadNothingWhenThereIsNoData()
        {
            Subscription.AddImage(ImageOneMock);


            A.CallTo(() => ImageOneMock.Poll(A <FragmentHandler> ._, A <int> ._)).Returns(0);

            Assert.AreEqual(Subscription.Poll(FragmentHandler, 1), 0);
        }