Fixes: #9878
Issue link: https://github.com/spring-projects/spring-integration/issues/9878
* `return Collections.unmodifiableList(this.autoStartupCandidates);` in the `MockIntegrationContext`
Signed-off-by: Alexander Hain <Alexander.hain@cloudflight.io>
[artem.bilan@broadcom.com Improve commit message]
Signed-off-by: Artem Bilan <artem.bilan@broadcom.com>
(cherry picked from commit 3d16e59f0b)