### Question:
PacketBuffer { public boolean remove(final long packetNumber) { return buffer.remove(packetNumber) != null; } PacketBuffer(final Ticker ticker); void put(final FullPacket packet); void clear(); boolean remove(final long packetNumber); boolean contains(final long packetNumber); boolean isEmpty(); Collection<Frame> drainSince(final long ttl, final TimeUnit unit); @Override String toString();  }### Answer:
@Test public void remove() { assertFalse(buffer.remove(pn1)); buffer.put(packet1); assertTrue(buffer.remove(pn1)); }