Package samples.innerclassmocking
Class ClassWithPrivateInnerClass
java.lang.Object
samples.innerclassmocking.ClassWithPrivateInnerClass
Used for demonstration of the ability to mock methods from a private inner
class. Due to limitations in Javassist (which doesn't seem to load inner
classes correctly??) we cannot mock private methods in inner classes. It
doesn't seem to have any effect when modifing the method modifier and setting
the method to public when loading the class by the mock class loader (but
why? Could be because the outer class has already been loaded?!).
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ClassWithPrivateInnerClass
public ClassWithPrivateInnerClass()
-
-
Method Details
-
getMessage
-