public boolean shouldStartExecutor(String executorName) {
        return !notStartExecutors.contains(executorName) && (startExecutors.isEmpty() || startExecutors.contains(executorName));
    }
@Test
    void shouldStartExecutor() {
        assertTrue(startExecutorService.shouldStartExecutor("ExecutorName"));

        startExecutorService.applyOptions(List.of("ExecutorName"), Collections.emptyList());
        assertTrue(startExecutorService.shouldStartExecutor("ExecutorName"));

        startExecutorService.applyOptions(List.of("AnotherExecutorName"), Collections.emptyList());
        assertFalse(startExecutorService.shouldStartExecutor("ExecutorName"));

        startExecutorService.applyOptions(Collections.emptyList(), List.of("AnotherExecutorName"));
        assertTrue(startExecutorService.shouldStartExecutor("ExecutorName"));

        startExecutorService.applyOptions(Collections.emptyList(), List.of("ExecutorName"));
        assertFalse(startExecutorService.shouldStartExecutor("ExecutorName"));

        assertThrows(IllegalArgumentException.class, () -> startExecutorService.applyOptions(List.of("ExecutorName"), List.of("AnotherExecutorName")));
    }