### Question:
RackInput implements Closeable { public void rewind() throws IOException { stream.reset(); buffer.reset(); bufferReadHead = 0; } RackInput(InputStream inputStream); byte[] gets(); byte[] read(Integer length); void rewind(); @Override void close();  }### Answer:
@Test public void rewind() throws Exception { full.read(4); full.rewind(); assertThat(full.read(4)).isEqualTo(copyOfRange(BYTES, 0, 4)); }