def METHOD_NAME(self):
    events = {
        "area_events": [
            {"area_uuid": "uuid_one",
             "trigger_events": [
                 {"time": 1562500000, "type": 1},
                 {"time": 1562800000, "type": 2}
             ]
             }
        ]
    }
    area = Area(name="testarea", uuid="uuid_one", children=[])
    deserialize_events_to_areas(events, area)
    assert not area.events.config_events
    assert len(area.events.connect_disconnect_events.isolated_ev.event_list) == 2
    assert type(area.events.connect_disconnect_events.isolated_ev.event_list[0]) == \
           DisconnectMarketEvent  # NOQA
    assert area.events.connect_disconnect_events.isolated_ev.event_list[0].event_time == \
        datetime.datetime.fromtimestamp(1562500000)
    assert type(area.events.connect_disconnect_events.isolated_ev.event_list[1]) == \
           ConnectMarketEvent  # NOQA
    assert area.events.connect_disconnect_events.isolated_ev.event_list[1].event_time == \
           datetime.datetime.fromtimestamp(1562800000)  # NOQA