'Test Fn:Replace function.'

def test_str_fn_replace(self):

    snippet = {'Fn::Replace': [{'$var1': 'foo', '$var2': 'bar'}, 'Template    $var1    string    $var2']}
    snippet_resolved = 'Template    foo    string    bar'
    tmpl = template.Template(hot_tpl_empty)
    self.assertEqual(snippet_resolved, self.resolve(snippet, tmpl))
