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

Reply via email to