https://aggarwalarpit.wordpress.com/2017/01/17/expected-exception-rule-and-mocking-static-methods-junit/