@Test public void testNumericIntervalParameter() throws MCTException, IOException { String save = System.getProperty("mcc.monitor.interval"); System.setProperty("mcc.monitor.interval", new Integer(testInterval).toString()); ShiftChangeReporter shiftChangeReporter = new ShiftChangeReporter(MCCuserID); assertEquals(shiftChangeReporter.getInterval(), testInterval); System.setProperty("mcc.monitor.interval", save); }
int getInterval() { return interval; }
ShiftChangeReporter { int getInterval() { return interval; } }
ShiftChangeReporter { int getInterval() { return interval; } ShiftChangeReporter(String initialUser); }
ShiftChangeReporter { int getInterval() { return interval; } ShiftChangeReporter(String initialUser); static void main(String args[]); }
ShiftChangeReporter { int getInterval() { return interval; } ShiftChangeReporter(String initialUser); static void main(String args[]);  }