When using @Nested, the tests added for #34782 have shown that service connections declared in the enclosing class are not found. This typically results in failing tests as the auto-configuration tries to use its defaults rather than connecting to the service in the container.