3 ms·I use PowerMock with Mockito for this kind of thing.by wiradikusuma 15y agoI use PowerMock with Mockito for this kind of thing.