Exemplo n.º 1
0
        public void EnableChunking_ValidBatchSettings_BatchSettingsSet()
        {
            var builder = new TestProducerEndpointBuilder();

            var endpoint = builder.EnableChunking(42, false).Build();

            endpoint.Chunk.Should().NotBeNull();
            endpoint.Chunk !.Size.Should().Be(42);
            endpoint.Chunk !.AlwaysAddHeaders.Should().BeFalse();
        }