Learn how you can verify that a static method has been called with Powermock!
This video will look at why Mockito is unable to verify static method calls. We will then
review the powermock dependencies required, and write a method that verifies if a static method is called
and the number of times it is invoked.
Link to source code:
https://github.com/4neesh/YouTube-Cha...
Please like, subscribe and leave a comment to let me know what you think!
Visit my website for all my blogs and videos on software engineering: www.aneesh.co.uk
Icon made by FreePik from www.flaticon.com