Added a Mockito Rule for JUnit

Indeed I proposed this change.
I'm not strongly opinionated on this. We may change the implementation of the class `Checks`