PacketBuffer { @Override public String toString() { return "PacketBuffer{" + "bytesWrittenToTempFile=" + bytesWrittenToTempFile + ", incompleteFrameBytes=" + incompleteFrameBytes + '}'; } PacketBuffer(); void setTempFileGenerator(TempFileGenerator tempFileGenerator); void setOutputStreamFactory(OutputStreamFactory outputStreamFactory); void setMaxIncompleteFrameBytes(long maxIncompleteFrameBytes); @Override String toString(); void reset(); long getAge(); long getByteCount(); void write(byte[] rawPacket); void frameComplete(FrameType frameType); RotateResult rotate(RolloverCondition rolloverCondition); RotateResult flushAndRotate(); void cancelTimer(); static final long ACTIVITY_TIMEOUT; }
@Test public void testToString() { assertThat(packetBuffer.toString(), notNullValue()); }