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