Hacker News new | ask | show | jobs
by ZitchDog 5204 days ago
Generally this would not be done in production code. jMockit is pretty out there, syntax - wise, and the anonymous inner classes are generally discouraged in production code. In tests are generally fine though. which is why jMockit can get away with it.