Fix for mockito @InjectMocks confusion that causes all tests to fail under JDK7.