### Question:
TcpRetransmissionTimeOutEvent extends Event { @Override public String toString() { return "TcpRetransmissionTimeOutEvent<" + this.getTime() + ", active: " + this.active + ">"; } TcpRetransmissionTimeOutEvent(long timeFromNowNs, NewRenoTcpSocket tcpSocket); @Override void trigger(); void cancel(); @Override String toString();  }### Answer:
@Test public void testToString() { NewRenoTcpSocket socket = mock(NewRenoTcpSocket.class); TcpRetransmissionTimeOutEvent event = new TcpRetransmissionTimeOutEvent(999, socket); event.toString(); }