def METHOD_NAME(self, requests_mock):
    mock = requests_mock.post(AMP_BATCH_URL)
    with AmpEventUploader("myapikey", dry_run=False) as uploader:
        for i in range(AmpEventUploader.BATCH_SIZE):
            event = AmpEvent(i, "myevent")
            uploader.queue(event)
        uploader.queue(event)
        uploader.queue(event)
        uploader.queue(event)
    assert mock.call_count == 2
    assert len(mock.request_history[0].json()["events"]) == AmpEventUploader.BATCH_SIZE
    assert len(mock.request_history[1].json()["events"]) == 3