public void ReplaceTokens_handles_missing_tokens()
        {
            var template = "$Token2$";
            var tokens   = new Dictionary <string, string>
            {
                { "Token1", "Value1" }
            };

            var result = TemplatingEngine.ReplaceTokens(template, tokens);

            Assert.Equal("", result);
        }
        public void ReplaceTokens_ignores_extra_tokens()
        {
            var template = "$Token1$";
            var tokens   = new Dictionary <string, string>
            {
                { "Token1", "Value1" },
                { "Token2", "Value2" }
            };

            var result = TemplatingEngine.ReplaceTokens(template, tokens);

            Assert.Equal("Value1", result);
        }