### Question:
IntegerConverter implements BytesConverter<Integer> { @Override public Integer fromBytes(byte[] bytes) { return getInt(bytes); }  @Override Integer fromBytes(byte[] bytes); @Override byte[] toBytes(Integer value); static final BytesConverter<Integer> INSTANCE; }### Answer:
@Test public void testFromBytes_InByteRange() { assertEquals(new Integer(6), new IntegerConverter().fromBytes(new byte[]{6})); }
@Test public void testFromBytes_InShortRange() { assertEquals(new Integer(1542), new IntegerConverter().fromBytes(new byte[]{6, 6})); }
@Test public void testFromBytes_InIntRange() { assertEquals(new Integer(395024), new IntegerConverter().fromBytes(new byte[]{0, 6, 7, 16})); }
@Test(expected = IllegalArgumentException.class) public void testFromBytes_TooLong() { IntegerConverter.INSTANCE.fromBytes(new byte[]{6, 5, 4}); }