Open full view…

PowerMock Integration

Thu, 23 Sep 2021 16:59:38 GMT

Can square test be integrated with PowerMock ?

Mon, 04 Oct 2021 16:09:16 GMT

Sorry for the delay. One option is to modify the template(s) to add @RunWith(PowerMockRunner.class) to the test class. If you need to mock dependencies which are final classes, using Mockito with the inline mockmaker is also an option. More information is available on [https://javadoc.io/static/org.mockito/mockito-core/3.12.4/org/mockito/Mockito.html#39](https://javadoc.io/static/org.mockito/mockito-core/3.12.4/org/mockito/Mockito.html#39).

Wed, 27 Oct 2021 13:31:29 GMT

Thanks for reply. Will try out this.