Esempio n. 1
0
        public void LogMessages_LogExactlyOnceStrategyCreated()
        {
            var builder = new ExactlyOnceStrategyBuilder();

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

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

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

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