Esempio n. 1
0
        protected internal override OrderedEventCollection <Product, string, DateTime> GetDefaultEventCollection(Guid itemId)
        {
            var changes = ProductFactory.GetChanges(itemId);

            var eventCollection = new OrderedEventCollection <Product, string, DateTime>(changes);

            eventCollection.Count.Should().Be(changes.Count);

            return(eventCollection);
        }