I wanted to write a unit test that showed
AbstractPollingIoProcessor.write() threw an exception that the
WriteFuture doesn't get notified.

But all the places I would sneak in such a change for testing have been denied.
The classes I want to modify are final or the methods I want to modify
are final.

Am I just missing something?
Looking at a lot of unit tests they are only testing "happy days" scenarios.
Exceptional flows don't seem to be checked.

Suggestions welcome.
Thanks

Reply via email to