Esempio n. 1
0
        public void CallFromQueue()
        {
            Sut.Add("Can");
            Sut.Add("Sergen");
            Sut.Add("Emre");
            Sut.Add("Hami");
            Sut.Add("Gamze");
            var next1 = Sut.Call();
            var next2 = Sut.Call();

            Assert.AreEqual(3, Sut.GetItemCount());
            Assert.AreEqual("Can", next1);
            Assert.AreEqual("Sergen", next2);
        }