def METHOD_NAME(self):
    nralert_violations = NewRelicAlertViolations(
        "token", "cf.gov", "123456"
    )
    formatted_violation = nralert_violations.format_violation(
        self.newrelic_response["violations"][0]
    )
    violation = self.newrelic_response["violations"][0]
    opened_timestamp = violation["opened_at"] / 1000.0
    opened = datetime.datetime.fromtimestamp(opened_timestamp)
    opened_str = opened.strftime("%a, %b %d %Y, at %I:%M %p %z")
    self.assertIn(
        "cf.gov test opened now, cf.gov synthetic entity "
        "- New Relic Synthetic, cf.gov synthetic entity, "
        "This test opened just now (Critical",
        formatted_violation,
    )
    self.assertIn(opened_str, formatted_violation)