Emit event on store when record has been synced
Make WebSocket mock self containing