@Test
public void shouldReadInt() throws IOException {

    int i = 200;
    byte[] bytes = new byte[] { (byte) i };
    ByteArrayInputStream inputStream = new ByteArrayInputStream(bytes);
    int readInt = ByteUtils.readInt(inputStream);
    assertEquals(200, readInt);
}