### Question:
TimeManager { public synchronized double getElapsedTimeInMilliSeconds() { double currentTime = System.currentTimeMillis(); return (currentTime - startTime); } TimeManager(); synchronized double getElapsedTimeInHours(); synchronized double getElapsedTimeInMinutes(); synchronized double getElapsedTimeInSeconds(); synchronized double getElapsedTimeInMilliSeconds();  }### Answer:
@Test public void testGetElapsedTimeInMilliSeconds() { TimeManager instance = new TimeManager(); double expResult = 360; myMethod(360); double result = instance.getElapsedTimeInMilliSeconds(); Assert.assertEquals(expResult, result, 360); }