示例#1
0
        public void DoesNotThrowWhenDisposingUnstartedReplicator()
        {
            // arrange
            var eventReplicator = new EventReplicator(new InMemoryEventStore(), new InMemoryEventStore());

            // act
            eventReplicator.Dispose();

            // assert
        }
        public void DoesNotThrowWhenDisposingUnstartedReplicator()
        {
            // arrange
            var serializer = new JsonDomainEventSerializer();
            var eventReplicator = new EventReplicator(new InMemoryEventStore(serializer), new InMemoryEventStore(serializer));

            // act
            eventReplicator.Dispose();

            // assert
        }