Jake Trent

Tag: Testng

Java Reflection for methods with primitive params

First-class objects are the norm in the code that I usually write and edit, but every now and then I run across a method with a primitive parameter. I use EasyMock a lot in testing, and need to find these methods by reflection, this is how it’s done…

Read more