Whilst working on another PR I had issue with the test org.springframework.integration.endpoint.PollingConsumerEndpointTests#heavierLoadTest Due to use of Mockito.reset in the init method. The docs advise to not use this method. I will create a PR to correct this issue