Fixes GH-2007 (https://github.com/spring-projects/spring-integration/issues/2007) To allow more straightforward extension and avoid some extra mocking provide some `protected` methods for the `IntegrationComponentScanRegistrar` which can be implement in some specific cases, like Spring Boot auto-configuration The `EnableComponentScanTests` demonstrates how it can be done now in case of `basePackage` overriding