public void OnClosed_ThrowsArgumentNullExceptionIfBlockIsNull()
        {
            // Arrange
            ExposedBlockExtension testSubject = CreatedExposedBlockExtension();

            // Act and assert
            Assert.Throws <ArgumentNullException>(() => testSubject.ExposedOnClosed(MarkdigTypesFactory.CreateBlockProcessor(), null));
        }
        public void OnClosed_ThrowsArgumentNullExceptionIfProcessorIsNull()
        {
            // Arrange
            ExposedBlockExtension testSubject = CreatedExposedBlockExtension();

            // Act and assert
            Assert.Throws <ArgumentNullException>(() => testSubject.ExposedOnClosed(null, _mockRepository.Create <Block>(null).Object));
        }