Saturday, December 22, 2012

Using Java’s reflection for testing private methods














Groovy is the dynamic language syntax for Java. As such, it can interact pretty seamlessly with
Java code (including compiled byte code), allowing you much more flexible syntax. You can invoke the standard reflection mechanism in Java using the Groovy syntax as shown below.


No comments:

Post a Comment