private boolean isBurstSimilar(long onosBurst, long deviceBurst) {
        // Rundown removing the decimal part
        long lowerEnd = (onosBurst / BURST_LOWER_DIVIDER) * BURST_MULTIPLIER;
        long upperEnd = (onosBurst / BURST_UPPER_DIVIDER) * BURST_MULTIPLIER;

        if (log.isDebugEnabled()) {
            log.debug("isBurstSimilar {} in [{}, {}]", deviceBurst, lowerEnd, upperEnd);
        }

        return deviceBurst >= lowerEnd && deviceBurst <= upperEnd;
    }
@Test
    public void testIsBurstSimilar() {
        PiMeterBand onosMeterBand;
        PiMeterBand deviceMeterBand;
        PiMeterCellConfig onosMeter;
        PiMeterCellConfig deviceMeter;
        for (Map.Entry<Long, Long> entry : BURSTS.entrySet()) {
            onosMeterBand = new PiMeterBand(PiMeterBandType.COMMITTED, 0, entry.getKey());
            deviceMeterBand = new PiMeterBand(PiMeterBandType.COMMITTED, 0, entry.getValue());
            onosMeter = PiMeterCellConfig.builder()
                    .withMeterCellId(meterCellId)
                    .withMeterBand(onosMeterBand)
                    .withMeterBand(new PiMeterBand(PiMeterBandType.PEAK, 0, 0))
                    .build();
            deviceMeter = PiMeterCellConfig.builder()
                    .withMeterCellId(meterCellId)
                    .withMeterBand(deviceMeterBand)
                    .withMeterBand(new PiMeterBand(PiMeterBandType.PEAK, 0, 0))
                    .build();
            assertTrue(meterProgrammable.isSimilar(onosMeter, deviceMeter));
        }
    }