public void ShouldReturnCorrectInstance(MarkupType type, Type expectedProcessor)
 {
     var factory = new MarkupProcessorFactory();
       var processor = factory.GetProcessor(type);
       Assert.That(processor, Is.InstanceOf(expectedProcessor));
 }
 public void ShouldThrowArgumentOutOfRange()
 {
     var factory = new MarkupProcessorFactory();
       Assert.That(() => factory.GetProcessor((MarkupType)983243), Throws.InstanceOf<ArgumentOutOfRangeException>());
 }