public void TestReplace_StringWithEmbeddedToken_FoundInDictionary()
{
var dictionary = new Dictionary<string, string>();
dictionary.Add("tokenName", "tokenised");
dictionary.Add("emdeddedToken", "en");
var tokeniser = new Tokeniser();
TestReplace(tokeniser, dictionary, "some [%tok[%emdeddedToken%]Name%] text.", "some tokenised text.");
TestReplace(tokeniser, dictionary, "some [%tok[%emdeddedToken%]Name%] text [%tokenName%].", "some tokenised text tokenised.");
}