/** * Tests the {@link TimerDataChartingCmrProcessor} when influx is active. */ @Test public void chartingProcessorInfluxActive() throws CloneNotSupportedException, SerializationException { TimerDataChartingCmrProcessor processor = new TimerDataChartingCmrProcessor(); processor.timerDataAggregator = timerDataAggregator; processor.serializationManager = serializationManager; processor.influxActive = true; // don't write TimerData timerData = new TimerData(); timerData.setCharting(true); processor.process(timerData, entityManager); verifyZeroInteractions(timerDataAggregator, entityManager); }
TimerDataChartingCmrProcessor processor = new TimerDataChartingCmrProcessor(); processor.timerDataAggregator = timerDataAggregator; processor.serializationManager = serializationManager;