### Question:
GPCardData { public static GPCardData fromBytes(byte[] data) throws TLVException { GPCardData result = new GPCardData(); TLVConstructed cd = TLV.readRecursive(data).asConstructed(TAG_CARD_DATA); TLVConstructed crd = cd.getChild(0).asConstructed(TAG_CARD_RECOGNITION_DATA); parseCRD(result, crd.getChildren()); return result; } private  GPCardData(); boolean isGlobalPlatform(); byte[] getGlobalPlatformVersion(); boolean isUniquelyIdentifiable(); int getSecurityProtocol(); int getSecurityParameters(); String getGlobalPlatformVersionString(); String toString(); static GPCardData fromBytes(byte[] data);  }### Answer:
@Test(expected = TLVException.class) public void testParseShort() throws TLVException { GPCardData.fromBytes(CD_GP211_SHORT); }
@Test(expected = IllegalArgumentException.class) public void testParseLong() throws TLVException { GPCardData.fromBytes(CD_GP211_LONG); }