Class PackagePrivateClass

java.lang.Object
samples.packageprivate.PackagePrivateClass

class PackagePrivateClass extends Object
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 Details

    • PackagePrivateClass

      PackagePrivateClass()
  • Method Details

    • getValue

      public int getValue()
    • returnAValue

      private int returnAValue()