Added a Mockito Rule for JUnit

NPE is thrown by ```Checks.checkNotNull```, according to bric3's suggestion. I can restore the old version, if you like - can you guys discuss, which option you like more?