public void TestReplace_StringWithTwoTokens_FoundInDictionary()
{
var dictionary = new Dictionary<string, string>();
dictionary.Add("tokenName1", "tokenised1");
dictionary.Add("tokenName2", "tokenised2");
var tokeniser = new Tokeniser();
TestReplace(tokeniser, dictionary, "some [%tokenName1%] text [%tokenName2%].", "some tokenised1 text tokenised2.");
TestReplace(tokeniser, dictionary, "[%tokenName1%]", "tokenised1");
}