Subverting Java Access Protection for Unit Testing
Publish Date: Nov. 12, 2003
Ross Burton describes how to use reflection to subvert Java class-member access protection to improve unit testing, by accessing private and protected members as required.
© 2013, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.