Hacker News new | ask | show | jobs
by projectileboy 6136 days ago
In JBlub, I ordinarily just create an inner class within my test class that implements the event listener interface I care about, and assert that the listener got called. This works fine for me when I need to test complicated UI stuff.