public void QueueManager_EnqueTest() { //Init var qn = "q1"; var q = new QueueManager<string>(qn); q.Flush(); // Push items into queue data.ForEach(x => q.Push(x)); // Test Assert.AreEqual(q.GetElements().Length, data.Count); }