@Test
void testGetMasterDefectRate()
{

  TimerValues timerValues = new TimerValues();
  String timerRate = timerValues.getMasterDefectRate(null);
  final String defaultRate = String.valueOf(2 * TimerValues.HOUR);
  Assertions.assertEquals(defaultRate, timerRate);
  TimerConfigurationType timerConfiguration = new TimerConfigurationType();
  timerRate = timerValues.getMasterDefectRate(timerConfiguration);
  Assertions.assertEquals(defaultRate, timerRate);
  TimerType timerType = new TimerType();
  timerType.setUnit(Calendar.HOUR_OF_DAY);
  timerType.setLength(1);
  timerConfiguration.setMasterAndDefectListRenewal(timerType);
  timerRate = timerValues.getMasterDefectRate(timerConfiguration);
  Assertions.assertEquals(String.valueOf(60 * 60 * 1000), timerRate);
}