@Override public void init(String planQueueName, ReservationSchedulerConfiguration conf) { this.lengthOfCheckZone = conf.getEnforcementWindow(planQueueName); }
@Override public void init(String planQueueName, ReservationSchedulerConfiguration conf) { this.lengthOfCheckZone = conf.getEnforcementWindow(planQueueName); }
@Override public void init(String planQueueName, ReservationSchedulerConfiguration conf) { this.lengthOfCheckZone = conf.getEnforcementWindow(planQueueName); }
when(conf.getEnforcementWindow(any(String.class))).thenReturn(6L);
ReservationSchedulerConfiguration conf = mock(ReservationSchedulerConfiguration.class); when(conf.getEnforcementWindow(any(String.class))).thenReturn(6L);