@Test(groups = {"functional.decode", "subscriberInformation"}) public void testDecode() throws Exception { AsnInputStream ansIS = new AsnInputStream(data); int tag = ansIS.readTag(); assertEquals(tag, Tag.SEQUENCE); ExtCwFeatureImpl extCwFeature = new ExtCwFeatureImpl(); extCwFeature.decodeAll(ansIS); ExtBasicServiceCode extBasicServiceCode = extCwFeature.getBasicService(); assertEquals( extBasicServiceCode.getExtTeleservice().getTeleserviceCodeValue(), TeleserviceCodeValue.allShortMessageServices); ExtSSStatus extSSStatus = extCwFeature.getSsStatus(); assertTrue(extSSStatus.getBitQ()); assertTrue(extSSStatus.getBitP()); assertFalse(extSSStatus.getBitR()); assertFalse(extSSStatus.getBitA()); }