Currently UDP server is created and receiving of messages is tested through it. We should instead mock client which is sending messages and verify if it is sending as we expect. We are not interested in what is received on other side as long as we send as we should.
Currently UDP server is created and receiving of messages is tested through it. We should instead mock client which is sending messages and verify if it is sending as we expect. We are not interested in what is received on other side as long as we send as we should.