@Test(groups = {"functional.decode", "circuitSwitchedCall.primitive"}) public void testDecode() throws Exception { byte[] data = this.getData(); AsnInputStream ais = new AsnInputStream(data); TDisconnectSpecificInfoImpl elem = new TDisconnectSpecificInfoImpl(); int tag = ais.readTag(); assertEquals(tag, EventSpecificInformationBCSMImpl._ID_tDisconnectSpecificInfo); assertEquals(ais.getTagClass(), Tag.CLASS_CONTEXT_SPECIFIC); elem.decodeAll(ais); assertTrue(Arrays.equals(elem.getReleaseCause().getData(), this.getIntData())); }