private void CompareMatch <T>(IEnumerable <T> expect) { var queue = new Concept.Queue <T>(); foreach (var i in expect) { queue.Enqueue(i); } var actual = new List <T>(); while (!queue.IsEmpty) { var i = queue.Dequeue(); actual.Add(i); } expect.ToExpectedObject().ShouldMatch(actual); }