@Override
        public void deconstruct(long generation, List<Object> components, Collection<Bundle> bundles) {
            components.forEach(component -> {
                if (component instanceof ContainerTest.DestructableComponent vespaComponent) {
                    vespaComponent.deconstruct();
                }
            });
            bundles.forEach(osgi::removeBundle);
        }
@author Tony Vaagenes
@author gjoranv
@author ollivir
container-core/src/test/java/com/yahoo/container/di/ContainerTestBase.java