public void SetMaximumRoutableQueueLength_Should_SetProperty() { var builder = new LogfileConfigurationBuilder <StandardLoglevel>(); LogfileConfigurationBuilderExtensions.SetMaximumRoutableQueueLength <StandardLoglevel>(builder, 1); builder.MaximumRoutableQueueLength.Should().Be(1); }
public void SetMaximumRoutableQueueLengthSelfNull_ShouldThrows_ArgumentNullException() { Assert.Throws <ArgumentNullException>(() => LogfileConfigurationBuilderExtensions.SetMaximumRoutableQueueLength <StandardLoglevel>(null, 1)); }