def METHOD_NAME() -> None:
    """Check if the delivery JSON is parsed correctly."""
    with open(os.path.join(data_dir, 'delivery.json'), encoding='utf-8') as file:
        data = file.read()
    obj = aws_ses.SesEvent.from_json(data)
    assert obj.event_type == 'Delivery'
    assert obj.mail.tags
    assert obj.mail.timestamp
    assert obj.mail.source
    assert obj.mail.common_headers
    assert obj.mail.destination
    assert obj.mail.headers
    assert obj.mail.sending_accountid
    assert obj.mail.source_arn
    assert obj.delivery
    assert obj.delivery.timestamp
    assert obj.delivery.recipients
    assert obj.delivery.reporting_mta
    assert obj.delivery.smtp_response
    assert obj.delivery.processing_time