use of com.android.internal.telephony.uicc.asn1.Asn1Node in project android_frameworks_opt_telephony by LineageOS.
the class Asn1NodeTest method testAsBoolean_InvalidData.
@SmallTest
@Test(expected = InvalidAsn1DataException.class)
public void testAsBoolean_InvalidData() throws TagNotFoundException, InvalidAsn1DataException {
Asn1Node node = Asn1Node.newBuilder(0xBF37).addChildAsString(1, "1").build();
node.getChild(1).asBoolean();
}
Aggregations