@Test
public void readNegativeInt() throws IOException {

  final byte[] bytes = {'-', '1', '0', '\r', '\n'};
  setupInputStreamRead(bytes, 1);
  int actualInt = reader.readInt();
  assertEquals(-10, actualInt);
}