public void LogMessages_LogExactlyOnceStrategyCreated() { var builder = new ExactlyOnceStrategyBuilder(); builder.LogMessages(); var strategy = builder.Build(); strategy.Should().BeOfType <LogExactlyOnceStrategy>(); }
public void StoreOffset_OffsetStoreExactlyOnceStrategyCreated() { var builder = new ExactlyOnceStrategyBuilder(); builder.StoreOffsets(); var strategy = builder.Build(); strategy.Should().BeOfType <OffsetStoreExactlyOnceStrategy>(); }