I'm working on a library for mocking UDP, and I can't wrap my head around how to actually write tests to make sure that things are being mocked properly.