[services] Tunnelbroker - DeliveryBroker tests
Summary:
DeliveryBroker - is an internal class to deliver and queue messages between the gRPC threads and AMQP thread.
This diff is a DeliveryBroker class tests. We performs checks for:
- Push/Pop message to/from the deviceID queue,
- Check if queue is empty,
- Erase the queue for the certain deviceID.
Related linear task: ENG-686
Test Plan: Run yarn test-tunnelbroker-service all tests are run and succeed.
Reviewers: karol-bisztyga, palys-swm, varun
Reviewed By: karol-bisztyga, palys-swm
Subscribers: ashoat, palys-swm, Adrian, atul, karol-bisztyga, benschac, yayabosh
Differential Revision: https://phabricator.ashoat.com/D3645