Exemple #1
0
        public void LogMessages_LogExactlyOnceStrategyCreated()
        {
            var builder = new ExactlyOnceStrategyBuilder();

            builder.LogMessages();
            var strategy = builder.Build();

            strategy.Should().BeOfType <LogExactlyOnceStrategy>();
        }
Exemple #2
0
        public void StoreOffset_OffsetStoreExactlyOnceStrategyCreated()
        {
            var builder = new ExactlyOnceStrategyBuilder();

            builder.StoreOffsets();
            var strategy = builder.Build();

            strategy.Should().BeOfType <OffsetStoreExactlyOnceStrategy>();
        }