### Question:
GPKeyInfo { public static GPKeyInfo fromBytes(byte[] data) throws TLVException { return fromTLV(TLVPrimitive.readPrimitive(data)); } GPKeyInfo(int keyId, int keyVersion, int keyType, int keySize);  GPKeyInfo(int keyId, int keyVersion, int[] keyTypes, int[] keySizes); int getKeyId(); int getKeyVersion(); int[] getKeyTypes(); int[] getKeySizes(); boolean matchesKey(GPKey key); String toString(); static GPKeyInfo fromBytes(byte[] data); static GPKeyInfo fromTLV(TLV tlv);  }### Answer:
@Test(expected = TLVException.class) public void testParseShort() throws TLVException { GPKeyInfo.fromBytes(KI_01_FF_DES_10_BYTES_SHORT); }
@Test(expected = IllegalArgumentException.class) public void testParseLong() throws TLVException, IllegalArgumentException { GPKeyInfo.fromBytes(KI_01_FF_DES_10_BYTES_LONG); }