public void BlockLoglevelSingle_Should_AddLoglevel()
        {
            var builder = new LogfileConfigurationBuilder <StandardLoglevel>();

            LogfileConfigurationBuilderExtensions.BlockLoglevel <StandardLoglevel>(builder, StandardLoglevel.Warning);
            builder.BlockLoglevels.Count.Should().Be(1);
            builder.BlockLoglevels.Should().Contain(StandardLoglevel.Warning);
        }
 public void BlockLoglevelSingleSelfNull_ShouldThrow_ArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(() => LogfileConfigurationBuilderExtensions.BlockLoglevel <StandardLoglevel>(null, StandardLoglevel.Warning));
 }