'Test the multiple entering.'

def test_mobile_multiple_enter_exit(self):

    enter_message = REGION_ENTER_MESSAGE.copy()
    enter_message['desc'] = IBEACON_DEVICE
    exit_message = REGION_LEAVE_MESSAGE.copy()
    exit_message['desc'] = IBEACON_DEVICE
    self.send_message(EVENT_TOPIC, enter_message)
    self.send_message(EVENT_TOPIC, enter_message)
    self.send_message(EVENT_TOPIC, exit_message)
    self.assertEqual(owntracks.MOBILE_BEACONS_ACTIVE['greg_phone'], [])
