### Question:
GPKeyInfoTemplate { public static GPKeyInfoTemplate fromBytes(byte[] buf) throws TLVException { ArrayList<GPKeyInfo> infos = new ArrayList<>(); TLVConstructed kitTlv = TLVConstructed.readConstructed(buf).asConstructed(TAG_KEY_INFO_TEMPLATE); for (TLV kiTlv : kitTlv.getChildren()) { infos.add(GPKeyInfo.fromTLV(kiTlv)); } return new GPKeyInfoTemplate(infos); } GPKeyInfoTemplate(List<GPKeyInfo> keyInfos); List<GPKeyInfo> getKeyInfos(); void checkKeysetForUsage(GPKeySet keys); void checkKeySetForReplacement(GPKeySet keys); String toString(); static GPKeyInfoTemplate fromBytes(byte[] buf);  }### Answer:
@Test(expected = TLVException.class) public void testParseShort() throws TLVException, IllegalArgumentException { GPKeyInfoTemplate.fromBytes(KIT_SCP02_DEFAULT_SHORT); }
@Test(expected = IllegalArgumentException.class) public void testParseLong() throws TLVException, IllegalArgumentException { GPKeyInfoTemplate.fromBytes(KIT_SCP02_DEFAULT_LONG); }