@Test
public void testAutoStartTrue() throws Exception {

  PrerequisiteCheck check = new PrerequisiteCheck(CheckDescription.AUTO_START_DISABLED, "foo");
  PrereqCheckRequest request = new PrereqCheckRequest("cluster");
  Assert.assertTrue(m_check.isApplicable(request));
  m_configMap.put(AutoStartDisabledCheck.RECOVERY_ENABLED_KEY, "true");
  m_configMap.put(AutoStartDisabledCheck.RECOVERY_TYPE_KEY, AutoStartDisabledCheck.RECOVERY_AUTO_START);
  m_check.perform(check, request);
  Assert.assertEquals(PrereqCheckStatus.FAIL, check.getStatus());
  Assert.assertTrue(StringUtils.isNotBlank(check.getFailReason()));
  Assert.assertEquals("Auto Start must be disabled before performing an Upgrade. To disable Auto Start, navigate to " +
        "Admin > Service Auto Start. Turn the toggle switch off to Disabled and hit Save.", check.getFailReason());
}