def METHOD_NAME():
    """Check that record message's time_extracted is converted to UTC."""
    naive = datetime(2021, 1, 1, 12)  # noqa: DTZ001
    nairobi = timezone("Africa/Nairobi")
    record = singer.RecordMessage(
        stream="test",
        record={"id": 1, "name": "test"},
        time_extracted=nairobi.localize(naive),
    )
    assert record.time_extracted == datetime(2021, 1, 1, 9, tzinfo=UTC)