Class PrimitiveAndWrapperDemo

java.lang.Object
samples.expectnew.PrimitiveAndWrapperDemo

public class PrimitiveAndWrapperDemo extends Object
Used to demonstrate PowerMocks ability to deal with overloaded constructors of primitive/wrapper types.
  • Field Details

    • myInt

      private final int myInt
  • Constructor Details

    • PrimitiveAndWrapperDemo

      public PrimitiveAndWrapperDemo(int myInt)
    • PrimitiveAndWrapperDemo

      public PrimitiveAndWrapperDemo(Integer myInt)
  • Method Details

    • getMyInt

      public int getMyInt()