Closed larsekje closed 6 years ago
The class is intended to emit events to the server (by the client, which is why i thought of them as client events - I see how that could be confusing), as if the client sent them. I don't think we've made a similar feature to mock events sent by the server to the client.
Attempted procedure
Expected result Communicator should call startGame() in ClientController. If it does this, a message will be printed to the terminal.
Actual result ClientEventMocker prints
Event 'start-game' emitted
, but nothing happens in the application.