public void Match_GivenNullSpan_ReturnsFalse() { var sut = new MarkupSpanTranslator(); var result = sut.Match(null); Assert.IsFalse(result); }
public void Match_GivenExpressionCodeGeneratorSpan_ReturnsFalse() { var span = new Span(new SpanBuilder() { CodeGenerator = new ExpressionCodeGenerator() }); var sut = new MarkupSpanTranslator(); var result = sut.Match(span); Assert.IsFalse(result); }