public void EnumerableReturnsFullHistory(int itemCount) { var items = new List <object>(); var sut = new BuildHistory(); for (var index = 0; index < itemCount; index++) { var item = Model.Create <Person>() !; items.Add(item); sut.Push(item); } items.Reverse(); sut.Should().ContainInOrder(items); }