Our team recently found out that Mockito now supports mocking static methods (https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#48) which was o