@Test
public void readPostiveInt() throws IOException {

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