public void TokenReplacer_GetTokenNames_ContainsTokenNameWithDelimiter() { var tr = new TokenReplacer(); var t = new StringToken("testName", "testValue"); tr.AddToken(t); Assert.Contains("<" + t.GetName() + ">", tr.GetTokenNames()); }
public void TokenReplacer_GetTokenNames_ContainsTokenName() { var tr = new TokenReplacer(); var t = new StringToken("testName", "testValue"); tr.AddToken(t); Assert.Contains(t.GetName(), tr.GetTokenNames(false)); }