### Question:
ShortConverter implements BytesConverter<Short> { @Override public Short fromBytes(byte[] bytes) { return getShort(bytes); }  @Override Short fromBytes(byte[] bytes); @Override byte[] toBytes(Short value); static final BytesConverter<Short> INSTANCE; }### Answer:
@Test public void testFromBytes_InByteRange() { assertEquals(new Short((short) 6), ShortConverter.INSTANCE.fromBytes(new byte[]{6})); }
@Test public void testFromBytes_InShortRange() { assertEquals(new Short((short) 1287), ShortConverter.INSTANCE.fromBytes(new byte[]{5, 7})); }
@Test(expected = IllegalArgumentException.class) public void testFromBytes_TooLong() { ShortConverter.INSTANCE.fromBytes(new byte[]{6, 5, 4}); }