[STORM-3907] Update mockito to version 4.11.0 and change code to match. (#3532)

26 files changed