public Integer doCall() throws Exception {
        if (all) {
            client(Integration.class).delete();
            printer().println("Integrations deleted");
        } else {
            if (names == null) {
                throw new RuntimeCamelException("Missing integration name as argument or --all option.");
            }

            for (String name : Arrays.stream(names).map(KubernetesHelper::sanitize).toList()) {
                List<StatusDetails> status = client(Integration.class).withName(name).delete();
                if (status.isEmpty()) {
                    printer().printf("Integration %s deletion skipped - not found%n", name);
                } else {
                    printer().printf("Integration %s deleted%n", name);
                }
            }
        }

        return 0;
    }
@Test
    public void shouldHandleIntegrationNotFound() throws Exception {
        IntegrationDelete command = createCommand();
        command.names = new String[] { "mickey-mouse" };
        command.doCall();

        Assertions.assertEquals("Integration mickey-mouse deletion skipped - not found", printer.getOutput());
    }