public void reEvaluateCheckRT(long checkRT, HealthCheckTaskV2 task, SwitchDomain.HealthParams params) {
        task.setCheckRtLast(checkRT);
        
        if (checkRT > task.getCheckRtWorst()) {
            task.setCheckRtWorst(checkRT);
        }
        
        if (checkRT < task.getCheckRtBest()) {
            task.setCheckRtBest(checkRT);
        }
        
        checkRT = (long) ((params.getFactor() * task.getCheckRtNormalized()) + (1 - params.getFactor()) * checkRT);
        
        if (checkRT > params.getMax()) {
            checkRT = params.getMax();
        }
        
        if (checkRT < params.getMin()) {
            checkRT = params.getMin();
        }
        
        task.setCheckRtNormalized(checkRT);
    }
@Test
    void testReEvaluateCheckRT() {
        healthCheckCommonV2.reEvaluateCheckRT(1, healthCheckTaskV2, healthParams);
        
        verify(healthParams, times(2)).getMax();
        verify(healthParams, times(1)).getMin();
        verify(healthParams, times(2)).getFactor();
        
        verify(healthCheckTaskV2).getCheckRtWorst();
        verify(healthCheckTaskV2).getCheckRtBest();
        verify(healthCheckTaskV2).getCheckRtNormalized();
    }