+1 Specially until Geode is at that state. I have created few Unit Test cases with PowerMock and it works well, specially with Geode use cases.
Best Regards, *Pulkit Chandra* On Thu, Dec 17, 2015 at 1:14 PM, Jens Deppe <[email protected]> wrote: > Hey All, > > I've just had a need to mock some static methods. Mockito doesn't > allow mocking statics, but PowerMock does. > > Kirk suggested to put this up for discussion before going ahead to use > PowerMock. Does anyone have any (bad) experience with PowerMock or > other reservations about using it. > > More generally, we should obviously be trying to factor out as much > static code as possible, but sometimes that's not reasonable to do (at > least in the short term). > > Thoughts? Comments? > > Thanks > --Jens >
