Some Qunit tests (in stock_barcode module) need to mock the barcode service in order to be executed correctly. This commit adds a new helper function that simulate the barcode service bus. closes odoo/odoo#136236 Related: odoo/enterprise#48054 Signed-off-by: Steve Van Essche <svs@odoo.com>