JUnit rule to support component testing with Mockito