From: Ziem, T. <Tho...@t-...> - 2008-05-22 16:30:36
|
Hi all, I want to test a class which loads classes using the Java Reflection API: Class.forName(className).newInstance(); The value of className comes from a configuration property. Is there any way that the class under test uses a mocked object instead? Thank's, Thomas |