Don't have Telegram yet? Try it now!
https://blog.knoldus.com/mocking-static-methods-with-powermock/
Mocking static methods with PowerMock