'Test check_javascript_file_is_safe with interpolate()'

@data({'template': '_.escape(message)', 'rule': None}, {'template': 'anything.escape(message)', 'rule': Rules.javascript_escape})
def test_javascript_interpolate(self, data):

    linter = JavaScriptLinter()
    results = FileResults('')
    linter.check_javascript_file_is_safe(data['template'], results)
    self._validate_data_rules(data, results)
