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