public Map<String, Boolean> getCurrentNodeAbilities(AbilityMode mode) {
        Map<String, Boolean> abilities = currentNodeAbilities.get(mode);
        if (abilities != null) {
            return Collections.unmodifiableMap(abilities);
        }
        return Collections.emptyMap();
    }
@Test
    void testGetCurrentNodeAbilities() {
        Map<String, Boolean> actual = abilityControlManager.getCurrentNodeAbilities(AbilityMode.SERVER);
        assertEquals(2, actual.size());
        assertTrue(actual.containsKey(AbilityKey.SERVER_TEST_1.getName()));
        assertTrue(actual.containsKey(AbilityKey.SERVER_TEST_2.getName()));
        actual = abilityControlManager.getCurrentNodeAbilities(AbilityMode.SDK_CLIENT);
        assertTrue(actual.isEmpty());
    }