@Override
    public Map<String, FailoverData> getFailoverData() {
        if (Boolean.parseBoolean(switchParams.get(FAILOVER_MODE_PARAM))) {
            return serviceMap;
        }
        return new ConcurrentHashMap<>(0);
    }
@Test
    void testGetFailoverDataForFailoverDisabled() {
        Map<String, FailoverData> actual = dataSource.getFailoverData();
        assertTrue(actual.isEmpty());
    }