public void TagToken_Name_TrimsWhitespace() { var variable = new VariableToken("{{ a }") as TagToken; Assert.That(variable.Name, Is.EqualTo("a")); }
public void TagToken_Name_StripsOpeningAndClosingCurlies() { var variable = new VariableToken("{{a}") as TagToken; Assert.That(variable.Name, Is.EqualTo("a")); }