@Test
public final void testDecodeOneByte() {

	for (int i = Byte.MIN_VALUE; i <= Byte.MAX_VALUE; i++) {
		final byte[] expecteds = new byte[] { (byte) i };
		final String hexString = String.format("%02x",
				Integer.valueOf(i & 0xFF));
		Assert.assertArrayEquals(expecteds,
				Hex.decode(hexString.toLowerCase()));
		Assert.assertArrayEquals(expecteds,
				Hex.decode(hexString.toUpperCase()));
	}
}