@Test public void responseBodyCompleted() throws Exception { timeStampRecorder.responseBodyCompleted(); assertEquals(5005, timeStampRecorder.getResponseBodyCompleted()); }
public void responseBodyCompleted() { responseBodyCompleted = timeProvider.currentTimeInMillis(); }
TimeStampRecorder implements RecordedTimeStamps { public void responseBodyCompleted() { responseBodyCompleted = timeProvider.currentTimeInMillis(); } }
TimeStampRecorder implements RecordedTimeStamps { public void responseBodyCompleted() { responseBodyCompleted = timeProvider.currentTimeInMillis(); } TimeStampRecorder(TimeProvider timeProvider); }
TimeStampRecorder implements RecordedTimeStamps { public void responseBodyCompleted() { responseBodyCompleted = timeProvider.currentTimeInMillis(); } TimeStampRecorder(TimeProvider timeProvider); void recordCreatedRequest(); void startWriteHeaders(); void completedWriteHeaders(); void startWriteBody(); void completedWriteBody(); void completedWriteLastBody(); void readResponseHttpHeaders(); void responseBodyStart(); void responseBodyCompleted(); @Override long getCreatedRequest(); @Override long getStartWriteHeaders(); @Override long getCompletedWriteHeaders(); @Override long getStartWriteBody(); @Override long getCompletedWriteBody(); @Override long getCompletedWriteLastBody(); @Override long getReadResponseHttpHeaders(); @Override long getResponseBodyStart(); @Override long getResponseBodyCompleted(); @Override long getCompleteRequestTime(); @Override long getRequestTime(); @Override long getResponseTime(); @Override long getServerProcessTime(); @Override String toString(); }
TimeStampRecorder implements RecordedTimeStamps { public void responseBodyCompleted() { responseBodyCompleted = timeProvider.currentTimeInMillis(); } TimeStampRecorder(TimeProvider timeProvider); void recordCreatedRequest(); void startWriteHeaders(); void completedWriteHeaders(); void startWriteBody(); void completedWriteBody(); void completedWriteLastBody(); void readResponseHttpHeaders(); void responseBodyStart(); void responseBodyCompleted(); @Override long getCreatedRequest(); @Override long getStartWriteHeaders(); @Override long getCompletedWriteHeaders(); @Override long getStartWriteBody(); @Override long getCompletedWriteBody(); @Override long getCompletedWriteLastBody(); @Override long getReadResponseHttpHeaders(); @Override long getResponseBodyStart(); @Override long getResponseBodyCompleted(); @Override long getCompleteRequestTime(); @Override long getRequestTime(); @Override long getResponseTime(); @Override long getServerProcessTime(); @Override String toString();  }