public void matches_key() { var context = new VariableExpansionContext(new InMemoryServiceLocator(), "foo", null); context.Matches("foo").ShouldBeTrue(); context.Matches("FOO").ShouldBeTrue(); context.Matches("bar").ShouldBeFalse(); }
public bool Matches(VariableExpansionContext context) { return(context.Matches(Key)); }