Aggregation parseAggregationConfig(String aggName) {
        if (StringUtils.isEmpty(aggName) || !fetchMode.equals(TbGetTelemetryNodeConfiguration.FETCH_MODE_ALL)) {
            return Aggregation.NONE;
        }
        return Aggregation.valueOf(aggName);
    }
@Test
    public void givenAggregationIncorrect_whenParseAggregation_thenException() {
        Assertions.assertThrows(IllegalArgumentException.class, () -> {
            node.parseAggregationConfig("TOP");
        });
    }