TimeOut { public void setTimeOutFlag(boolean timeOut) { this.timeOutFlag = timeOut; } protected  TimeOut(); static synchronized TimeOut getInstance(); void setTimeOut(double timeout); double getTimeOut(); boolean isTimeOutFlag(); void setTimeOutFlag(boolean timeOut);  }
@Test public void testSetTimeOutFlag() { boolean timeOut = true; TimeOut instance = new TimeOut(); instance.setTimeOut(10); instance.setTimeOutFlag(timeOut); boolean expResult = false; boolean result = instance.isTimeOutFlag(); assertNotSame(expResult, result); }