Program: 16838
Project: 16838
Buggy source:
@Test public void testUpdate(){
  boolean isVisible=savedSearch.isVisible();
  savedSearch.setIsVisible(!isVisible);
  savedSearch.setActionEmailAuthPassword("String_Node_Str");
  savedSearch.setActionEmailAuthUsername("String_Node_Str");
  savedSearch.setActionEmailBcc("String_Node_Str");
  savedSearch.setActionEmailCc("String_Node_Str");
  savedSearch.setActionEmailCommand("String_Node_Str");
  savedSearch.setActionEmailFormat("String_Node_Str");
  savedSearch.setActionEmailFrom("String_Node_Str");
  savedSearch.setActionEmailHostname("String_Node_Str");
  savedSearch.setActionEmailInline(true);
  savedSearch.setActionEmailMailServer("String_Node_Str");
  savedSearch.setActionEmailMaxResults(101);
  savedSearch.setActionEmailMaxTime("String_Node_Str");
  savedSearch.setActionEmailPdfView("String_Node_Str");
  savedSearch.setActionEmailPreProcessResults("String_Node_Str");
  savedSearch.setActionEmailReportPaperOrientation("String_Node_Str");
  savedSearch.setActionEmailReportPaperSize("String_Node_Str");
  savedSearch.setActionEmailReportServerEnabled(false);
  savedSearch.setActionEmailReportServerUrl("String_Node_Str");
  savedSearch.setActionEmailSendPdf(false);
  savedSearch.setActionEmailSendResults(false);
  savedSearch.setActionEmailSubject("String_Node_Str");
  savedSearch.setActionEmailTo("String_Node_Str");
  savedSearch.setActionEmailTrackAlert(false);
  savedSearch.setActionEmailTtl("String_Node_Str");
  savedSearch.setActionEmailUseSsl(false);
  savedSearch.setActionEmailUseTls(false);
  savedSearch.setActionEmailWidthSortColumns(false);
  savedSearch.setActionPopulateLookupCommand("String_Node_Str");
  savedSearch.setActionPopulateLookupDest("String_Node_Str");
  savedSearch.setActionPopulateLookupHostname("String_Node_Str");
  savedSearch.setActionPopulateLookupMaxResults(102);
  savedSearch.setActionPopulateLookupMaxTime("String_Node_Str");
  savedSearch.setActionPopulateLookupTrackAlert(false);
  savedSearch.setActionPopulateLookupTtl("String_Node_Str");
  savedSearch.setActionRssCommand("String_Node_Str");
  savedSearch.setActionRssHostname("String_Node_Str");
  savedSearch.setActionRssMaxResults(103);
  savedSearch.setActionRssMaxTime("String_Node_Str");
  savedSearch.setActionRssTrackAlert(false);
  savedSearch.setActionRssTtl("String_Node_Str");
  savedSearch.setActionScriptCommand("String_Node_Str");
  savedSearch.setActionScriptHostname("String_Node_Str");
  savedSearch.setActionScriptMaxResults(104);
  savedSearch.setActionScriptMaxTime("String_Node_Str");
  savedSearch.setActionScriptTrackAlert(false);
  savedSearch.setActionScriptTtl("String_Node_Str");
  savedSearch.setActionSummaryIndexName("String_Node_Str");
  savedSearch.setActionSummaryIndexCommand("String_Node_Str");
  savedSearch.setActionSummaryIndexHostname("String_Node_Str");
  savedSearch.setActionSummaryIndexInline(false);
  savedSearch.setActionSummaryIndexMaxResults(105);
  savedSearch.setActionSummaryIndexMaxTime("String_Node_Str");
  savedSearch.setActionSummaryIndexTrackAlert(false);
  savedSearch.setActionSummaryIndexTtl("String_Node_Str");
  savedSearch.setActions("String_Node_Str");
  savedSearch.setSearch("String_Node_Str");
  savedSearch.setAlertComparator("String_Node_Str");
  savedSearch.setAlertCondition("String_Node_Str");
  savedSearch.setAlertDigestMode(true);
  savedSearch.setAlertExpires("String_Node_Str");
  savedSearch.setAlertSeverity(6);
  savedSearch.setAlertSuppress(true);
  savedSearch.setAlertSuppressFields("String_Node_Str");
  savedSearch.setAlertSuppressPeriod("String_Node_Str");
  savedSearch.setAlertThreshold("String_Node_Str");
  savedSearch.setAlertTrack("String_Node_Str");
  savedSearch.setAlertType("String_Node_Str");
  savedSearch.setCronSchedule("String_Node_Str");
  savedSearch.setDescription("String_Node_Str");
  savedSearch.setDispatchBuckets("String_Node_Str");
  savedSearch.setDispatchEarliestTime("String_Node_Str");
  savedSearch.setDispatchLatestTime("String_Node_Str");
  savedSearch.setDispatchLookups(false);
  savedSearch.setDispatchMaxCount(100000);
  savedSearch.setDispatchMaxTime(120);
  savedSearch.setDispatchSpawnProcess(true);
  savedSearch.setDispatchTimeFormat("String_Node_Str");
  savedSearch.setDispatchTtl("String_Node_Str");
  savedSearch.setDisplayView("String_Node_Str");
  savedSearch.setMaxConcurrent(2);
  savedSearch.setRealtimeSchedule(false);
  savedSearch.setRequestUiDispatchApp("String_Node_Str");
  savedSearch.setRequestUiDispatchView("String_Node_Str");
  savedSearch.setRunOnStartup(true);
  savedSearch.setVsid("String_Node_Str");
  savedSearch.update();
  savedSearch.refresh();
  assertTrue(savedSearch.isActionEmail());
  assertTrue(savedSearch.isActionPopulateLookup());
  assertTrue(savedSearch.isActionRss());
  assertTrue(savedSearch.isActionScript());
  assertTrue(savedSearch.isActionSummaryIndex());
  assertTrue(savedSearch.isDigestMode());
  assertEquals("String_Node_Str",savedSearch.getActionEmailAuthPassword());
  assertEquals("String_Node_Str",savedSearch.getActionEmailAuthUsername());
  assertEquals("String_Node_Str",savedSearch.getActionEmailBcc());
  assertEquals("String_Node_Str",savedSearch.getActionEmailCc());
  assertEquals("String_Node_Str",savedSearch.getActionEmailCommand());
  assertEquals("String_Node_Str",savedSearch.getActionEmailFormat());
  assertEquals("String_Node_Str",savedSearch.getActionEmailFrom());
  assertEquals("String_Node_Str",savedSearch.getActionEmailHostname());
  assertTrue(savedSearch.getActionEmailInline());
  assertEquals("String_Node_Str",savedSearch.getActionEmailMailServer());
  assertEquals(101,savedSearch.getActionEmailMaxResults());
  assertEquals("String_Node_Str",savedSearch.getActionEmailMaxTime());
  assertEquals("String_Node_Str",savedSearch.getActionEmailPdfView());
  assertEquals("String_Node_Str",savedSearch.getActionEmailPreProcessResults());
  assertEquals("String_Node_Str",savedSearch.getActionEmailReportPaperOrientation());
  assertEquals("String_Node_Str",savedSearch.getActionEmailReportPaperSize());
  assertFalse(savedSearch.getActionEmailReportServerEnabled());
  assertEquals("String_Node_Str",savedSearch.getActionEmailReportServerUrl());
  assertFalse(savedSearch.getActionEmailSendPdf());
  assertFalse(savedSearch.getActionEmailSendResults());
  assertEquals("String_Node_Str",savedSearch.getActionEmailSubject());
  assertEquals("String_Node_Str",savedSearch.getActionEmailTo());
  assertFalse(savedSearch.getActionEmailTrackAlert());
  assertEquals("String_Node_Str",savedSearch.getActionEmailTtl());
  assertFalse(savedSearch.getActionEmailUseSsl());
  assertFalse(savedSearch.getActionEmailUseTls());
  assertFalse(savedSearch.getActionEmailWidthSortColumns());
  assertEquals("String_Node_Str",savedSearch.getActionPopulateLookupCommand());
  assertEquals("String_Node_Str",savedSearch.getActionPopulateLookupDest());
  assertEquals("String_Node_Str",savedSearch.getActionPopulateLookupHostname());
  assertEquals(102,savedSearch.getActionPopulateLookupMaxResults());
  assertEquals("String_Node_Str",savedSearch.getActionPopulateLookupMaxTime());
  assertFalse(savedSearch.getActionPopulateLookupTrackAlert());
  assertEquals("String_Node_Str",savedSearch.getActionPopulateLookupTtl());
  assertEquals("String_Node_Str",savedSearch.getActionRssCommand());
  assertEquals("String_Node_Str",savedSearch.getActionRssHostname());
  assertEquals(103,savedSearch.getActionRssMaxResults());
  assertEquals("String_Node_Str",savedSearch.getActionRssMaxTime());
  assertFalse(savedSearch.getActionRssTrackAlert());
  assertEquals("String_Node_Str",savedSearch.getActionRssTtl());
  assertEquals("String_Node_Str",savedSearch.getActionScriptCommand());
  assertEquals("String_Node_Str",savedSearch.getActionScriptHostname());
  assertEquals(104,savedSearch.getActionScriptMaxResults());
  assertEquals("String_Node_Str",savedSearch.getActionScriptMaxTime());
  assertFalse(savedSearch.getActionScriptTrackAlert());
  assertEquals("String_Node_Str",savedSearch.getActionScriptTtl());
  assertEquals("String_Node_Str",savedSearch.getActionSummaryIndexName());
  assertEquals("String_Node_Str",savedSearch.getActionSummaryIndexCommand());
  assertEquals("String_Node_Str",savedSearch.getActionSummaryIndexHostname());
  assertFalse(savedSearch.getActionSummaryIndexInline());
  assertEquals(105,savedSearch.getActionSummaryIndexMaxResults());
  assertEquals("String_Node_Str",savedSearch.getActionSummaryIndexMaxTime());
  assertFalse(savedSearch.getActionSummaryIndexTrackAlert());
  assertEquals("String_Node_Str",savedSearch.getActionSummaryIndexTtl());
  assertEquals(savedSearch.isVisible(),!isVisible);
  assertEquals("String_Node_Str",savedSearch.getAlertComparator());
  assertEquals("String_Node_Str",savedSearch.getAlertCondition());
  assertEquals(true,savedSearch.getAlertDigestMode());
  assertEquals("String_Node_Str",savedSearch.getAlertExpires());
  assertEquals(6,savedSearch.getAlertSeverity());
  assertEquals(true,savedSearch.getAlertSuppress());
  assertEquals("String_Node_Str",savedSearch.getAlertSuppressFields());
  assertEquals("String_Node_Str",savedSearch.getAlertSuppressPeriod());
  assertEquals("String_Node_Str",savedSearch.getAlertThreshold());
  assertEquals("String_Node_Str",savedSearch.getAlertTrack());
  assertEquals("String_Node_Str",savedSearch.getAlertType());
  assertEquals("String_Node_Str",savedSearch.getCronSchedule());
  assertEquals("String_Node_Str",savedSearch.getDescription());
  assertEquals(100,savedSearch.getDispatchBuckets());
  assertEquals("String_Node_Str",savedSearch.getDispatchEarliestTime());
  assertEquals("String_Node_Str",savedSearch.getDispatchLatestTime());
  assertEquals(false,savedSearch.getDispatchLookups());
  assertEquals(100000,savedSearch.getDispatchMaxCount());
  assertEquals("String_Node_Str",savedSearch.getDispatchMaxTime());
  assertEquals(true,savedSearch.getDispatchSpawnProcess());
  assertEquals("String_Node_Str",savedSearch.getDispatchTimeFormat());
  assertEquals("String_Node_Str",savedSearch.getDispatchTtl());
  assertEquals("String_Node_Str",savedSearch.getDisplayView());
  assertEquals(2,savedSearch.getMaxConcurrent());
  assertEquals(false,savedSearch.getRealtimeSchedule());
  assertEquals("String_Node_Str",savedSearch.getRequestUiDispatchApp());
  assertEquals("String_Node_Str",savedSearch.getRequestUiDispatchView());
  assertEquals(true,savedSearch.getRunOnStartup());
  assertEquals(null,savedSearch.getVsid());
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @Test public void testUpdate(){
  boolean isVisible=savedSearch.isVisible();
  savedSearch.setIsVisible(!isVisible);
  savedSearch.setActionEmailAuthPassword("String_Node_Str");
  savedSearch.setActionEmailAuthUsername("String_Node_Str");
  savedSearch.setActionEmailBcc("String_Node_Str");
  savedSearch.setActionEmailCc("String_Node_Str");
  savedSearch.setActionEmailCommand("String_Node_Str");
  savedSearch.setActionEmailFormat("String_Node_Str");
  savedSearch.setActionEmailFrom("String_Node_Str");
  savedSearch.setActionEmailHostname("String_Node_Str");
  savedSearch.setActionEmailInline(true);
  savedSearch.setActionEmailMailServer("String_Node_Str");
  savedSearch.setActionEmailMaxResults(101);
  savedSearch.setActionEmailMaxTime("String_Node_Str");
  savedSearch.setActionEmailPdfView("String_Node_Str");
  savedSearch.setActionEmailPreProcessResults("String_Node_Str");
  savedSearch.setActionEmailReportPaperOrientation("String_Node_Str");
  savedSearch.setActionEmailReportPaperSize("String_Node_Str");
  savedSearch.setActionEmailReportServerEnabled(false);
  savedSearch.setActionEmailReportServerUrl("String_Node_Str");
  savedSearch.setActionEmailSendPdf(false);
  savedSearch.setActionEmailSendResults(false);
  savedSearch.setActionEmailSubject("String_Node_Str");
  savedSearch.setActionEmailTo("String_Node_Str");
  savedSearch.setActionEmailTrackAlert(false);
  savedSearch.setActionEmailTtl("String_Node_Str");
  savedSearch.setActionEmailUseSsl(false);
  savedSearch.setActionEmailUseTls(false);
  savedSearch.setActionEmailWidthSortColumns(false);
  savedSearch.setActionPopulateLookupCommand("String_Node_Str");
  savedSearch.setActionPopulateLookupDest("String_Node_Str");
  savedSearch.setActionPopulateLookupHostname("String_Node_Str");
  savedSearch.setActionPopulateLookupMaxResults(102);
  savedSearch.setActionPopulateLookupMaxTime("String_Node_Str");
  savedSearch.setActionPopulateLookupTrackAlert(false);
  savedSearch.setActionPopulateLookupTtl("String_Node_Str");
  savedSearch.setActionRssCommand("String_Node_Str");
  savedSearch.setActionRssHostname("String_Node_Str");
  savedSearch.setActionRssMaxResults(103);
  savedSearch.setActionRssMaxTime("String_Node_Str");
  savedSearch.setActionRssTrackAlert(false);
  savedSearch.setActionRssTtl("String_Node_Str");
  savedSearch.setActionScriptCommand("String_Node_Str");
  savedSearch.setActionScriptHostname("String_Node_Str");
  savedSearch.setActionScriptMaxResults(104);
  savedSearch.setActionScriptMaxTime("String_Node_Str");
  savedSearch.setActionScriptTrackAlert(false);
  savedSearch.setActionScriptTtl("String_Node_Str");
  savedSearch.setActionSummaryIndexName("String_Node_Str");
  savedSearch.setActionSummaryIndexCommand("String_Node_Str");
  savedSearch.setActionSummaryIndexHostname("String_Node_Str");
  savedSearch.setActionSummaryIndexInline(false);
  savedSearch.setActionSummaryIndexMaxResults(105);
  savedSearch.setActionSummaryIndexMaxTime("String_Node_Str");
  savedSearch.setActionSummaryIndexTrackAlert(false);
  savedSearch.setActionSummaryIndexTtl("String_Node_Str");
  savedSearch.setActions("String_Node_Str");
  savedSearch.setSearch("String_Node_Str");
  savedSearch.setAlertComparator("String_Node_Str");
  savedSearch.setAlertCondition("String_Node_Str");
  savedSearch.setAlertDigestMode(true);
  savedSearch.setAlertExpires("String_Node_Str");
  savedSearch.setAlertSeverity(6);
  savedSearch.setAlertSuppress(true);
  savedSearch.setAlertSuppressFields("String_Node_Str");
  savedSearch.setAlertSuppressPeriod("String_Node_Str");
  savedSearch.setAlertThreshold("String_Node_Str");
  savedSearch.setAlertTrack("String_Node_Str");
  savedSearch.setAlertType("String_Node_Str");
  savedSearch.setCronSchedule("String_Node_Str");
  savedSearch.setDescription("String_Node_Str");
  savedSearch.setDispatchBuckets("String_Node_Str");
  savedSearch.setDispatchEarliestTime("String_Node_Str");
  savedSearch.setDispatchLatestTime("String_Node_Str");
  savedSearch.setDispatchLookups(false);
  savedSearch.setDispatchMaxCount(100000);
  savedSearch.setDispatchMaxTime(120);
  savedSearch.setDispatchSpawnProcess(true);
  savedSearch.setDispatchTimeFormat("String_Node_Str");
  savedSearch.setDispatchTtl("String_Node_Str");
  savedSearch.setDisplayView("String_Node_Str");
  savedSearch.setMaxConcurrent(2);
  savedSearch.setRealtimeSchedule(false);
  savedSearch.setRequestUiDispatchApp("String_Node_Str");
  savedSearch.setRequestUiDispatchView("String_Node_Str");
  savedSearch.setRunOnStartup(true);
  savedSearch.setVsid("String_Node_Str");
  savedSearch.setDispatchReduceFrequency(11);
  savedSearch.setDispatchRealTimeBackfill(true);
  savedSearch.setRestartOnSearchpeerAdd(false);
  savedSearch.setDisabled(true);
  savedSearch.update();
  savedSearch.refresh();
  assertTrue(savedSearch.isActionEmail());
  assertTrue(savedSearch.isActionPopulateLookup());
  assertTrue(savedSearch.isActionRss());
  assertTrue(savedSearch.isActionScript());
  assertTrue(savedSearch.isActionSummaryIndex());
  assertTrue(savedSearch.isDigestMode());
  assertEquals("String_Node_Str",savedSearch.getActionEmailAuthPassword());
  assertEquals("String_Node_Str",savedSearch.getActionEmailAuthUsername());
  assertEquals("String_Node_Str",savedSearch.getActionEmailBcc());
  assertEquals("String_Node_Str",savedSearch.getActionEmailCc());
  assertEquals("String_Node_Str",savedSearch.getActionEmailCommand());
  assertEquals("String_Node_Str",savedSearch.getActionEmailFormat());
  assertEquals("String_Node_Str",savedSearch.getActionEmailFrom());
  assertEquals("String_Node_Str",savedSearch.getActionEmailHostname());
  assertTrue(savedSearch.getActionEmailInline());
  assertEquals("String_Node_Str",savedSearch.getActionEmailMailServer());
  assertEquals(101,savedSearch.getActionEmailMaxResults());
  assertEquals("String_Node_Str",savedSearch.getActionEmailMaxTime());
  assertEquals("String_Node_Str",savedSearch.getActionEmailPdfView());
  assertEquals("String_Node_Str",savedSearch.getActionEmailPreProcessResults());
  assertEquals("String_Node_Str",savedSearch.getActionEmailReportPaperOrientation());
  assertEquals("String_Node_Str",savedSearch.getActionEmailReportPaperSize());
  assertFalse(savedSearch.getActionEmailReportServerEnabled());
  assertEquals("String_Node_Str",savedSearch.getActionEmailReportServerUrl());
  assertFalse(savedSearch.getActionEmailSendPdf());
  assertFalse(savedSearch.getActionEmailSendResults());
  assertEquals("String_Node_Str",savedSearch.getActionEmailSubject());
  assertEquals("String_Node_Str",savedSearch.getActionEmailTo());
  assertFalse(savedSearch.getActionEmailTrackAlert());
  assertEquals("String_Node_Str",savedSearch.getActionEmailTtl());
  assertFalse(savedSearch.getActionEmailUseSsl());
  assertFalse(savedSearch.getActionEmailUseTls());
  assertFalse(savedSearch.getActionEmailWidthSortColumns());
  assertEquals("String_Node_Str",savedSearch.getActionPopulateLookupCommand());
  assertEquals("String_Node_Str",savedSearch.getActionPopulateLookupDest());
  assertEquals("String_Node_Str",savedSearch.getActionPopulateLookupHostname());
  assertEquals(102,savedSearch.getActionPopulateLookupMaxResults());
  assertEquals("String_Node_Str",savedSearch.getActionPopulateLookupMaxTime());
  assertFalse(savedSearch.getActionPopulateLookupTrackAlert());
  assertEquals("String_Node_Str",savedSearch.getActionPopulateLookupTtl());
  assertEquals("String_Node_Str",savedSearch.getActionRssCommand());
  assertEquals("String_Node_Str",savedSearch.getActionRssHostname());
  assertEquals(103,savedSearch.getActionRssMaxResults());
  assertEquals("String_Node_Str",savedSearch.getActionRssMaxTime());
  assertFalse(savedSearch.getActionRssTrackAlert());
  assertEquals("String_Node_Str",savedSearch.getActionRssTtl());
  assertEquals("String_Node_Str",savedSearch.getActionScriptCommand());
  assertEquals("String_Node_Str",savedSearch.getActionScriptHostname());
  assertEquals(104,savedSearch.getActionScriptMaxResults());
  assertEquals("String_Node_Str",savedSearch.getActionScriptMaxTime());
  assertFalse(savedSearch.getActionScriptTrackAlert());
  assertEquals("String_Node_Str",savedSearch.getActionScriptTtl());
  assertEquals("String_Node_Str",savedSearch.getActionSummaryIndexName());
  assertEquals("String_Node_Str",savedSearch.getActionSummaryIndexCommand());
  assertEquals("String_Node_Str",savedSearch.getActionSummaryIndexHostname());
  assertFalse(savedSearch.getActionSummaryIndexInline());
  assertEquals(105,savedSearch.getActionSummaryIndexMaxResults());
  assertEquals("String_Node_Str",savedSearch.getActionSummaryIndexMaxTime());
  assertFalse(savedSearch.getActionSummaryIndexTrackAlert());
  assertEquals("String_Node_Str",savedSearch.getActionSummaryIndexTtl());
  assertEquals(savedSearch.isVisible(),!isVisible);
  assertEquals("String_Node_Str",savedSearch.getAlertComparator());
  assertEquals("String_Node_Str",savedSearch.getAlertCondition());
  assertEquals(true,savedSearch.getAlertDigestMode());
  assertEquals("String_Node_Str",savedSearch.getAlertExpires());
  assertEquals(6,savedSearch.getAlertSeverity());
  assertEquals(true,savedSearch.getAlertSuppress());
  assertEquals("String_Node_Str",savedSearch.getAlertSuppressFields());
  assertEquals("String_Node_Str",savedSearch.getAlertSuppressPeriod());
  assertEquals("String_Node_Str",savedSearch.getAlertThreshold());
  assertEquals("String_Node_Str",savedSearch.getAlertTrack());
  assertEquals("String_Node_Str",savedSearch.getAlertType());
  assertEquals("String_Node_Str",savedSearch.getCronSchedule());
  assertEquals("String_Node_Str",savedSearch.getDescription());
  assertEquals(100,savedSearch.getDispatchBuckets());
  assertEquals("String_Node_Str",savedSearch.getDispatchEarliestTime());
  assertEquals("String_Node_Str",savedSearch.getDispatchLatestTime());
  assertEquals(false,savedSearch.getDispatchLookups());
  assertEquals(100000,savedSearch.getDispatchMaxCount());
  assertEquals("String_Node_Str",savedSearch.getDispatchMaxTime());
  assertEquals(true,savedSearch.getDispatchSpawnProcess());
  assertEquals("String_Node_Str",savedSearch.getDispatchTimeFormat());
  assertEquals("String_Node_Str",savedSearch.getDispatchTtl());
  assertEquals("String_Node_Str",savedSearch.getDisplayView());
  assertEquals(2,savedSearch.getMaxConcurrent());
  assertEquals(false,savedSearch.getRealtimeSchedule());
  assertEquals("String_Node_Str",savedSearch.getRequestUiDispatchApp());
  assertEquals("String_Node_Str",savedSearch.getRequestUiDispatchView());
  assertEquals(true,savedSearch.getRunOnStartup());
  assertEquals(null,savedSearch.getVsid());
  assertEquals(11,savedSearch.getDispatchReduceFreq());
  assertEquals(true,savedSearch.getDispatchRtBackfill());
  assertEquals(false,savedSearch.getRestartOnSearchPeerAdd());
  assertEquals(true,savedSearch.isDisabled());
}