Package samples.expectnew
package samples.expectnew
-
ClassDescriptionMocking object construction with
withAnyArguments()
does not treat all the object's constructors equally.Used to demonstrate PowerMock's ability to mock new instance calls.Used to demonstrate PowerMocks ability to deal with overloaded constructors of primitive/wrapper types.Used to demonstrate PowerMocks ability to deal with overloaded constructors of primitive/wrapper types.