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