Package samples.packageprivate
Class PackagePrivateClass
java.lang.Object
samples.packageprivate.PackagePrivateClass
This class demonstrates the ability for PowerMock to mock package private
classes. This is normally not an issue but since we've changed the CgLib
naming policy to allow for signed mocking PowerMock needs to byte-code
manipulate this class.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PackagePrivateClass
PackagePrivateClass()
-
-
Method Details
-
getValue
public int getValue() -
returnAValue
private int returnAValue()
-