@Test
public void testAutoSkipFailureEnabled() {

  Blueprint blueprint = new BlueprintImpl("test", hostGroups, stack, configuration, null, setting);
  HashMap<String, String> skipFailureSetting = new HashMap<>();
  skipFailureSetting.put(Setting.SETTING_NAME_SKIP_FAILURE, "true");
  expect(setting.getSettingValue(Setting.SETTING_NAME_DEPLOYMENT_SETTINGS)).andReturn(Collections.singleton(skipFailureSetting));
  replay(stack, setting);
  assertTrue(blueprint.shouldSkipFailure());
  verify(stack, setting);
}