public void EmptyInput() { // Given var expression = new TextExpression("foo"); // When var result = expression.Transform(""); // Then Assert.Null(result); }
public void PartialMatch() { // Given var expression = new TextExpression("foo"); // When var result = expression.Transform("foobar"); // Then Assert.Null(result); }
public void Match() { // Given var expression = new TextExpression("foo"); // When var result = expression.Transform("foo"); // Then Assert.Equal("foo", result); }