Mockito 3.6 supports mocking static methods under a try-with-resources block as explained here.
try-with-resources
Can someone let me know if static methods are mocked using Po