Mpeg4DecodedStreamData implements DecodedStreamData { @Override public int getPacketId() { return packetId; } Mpeg4DecodedStreamData(List<NALUnit> nalUnits, int packetId); List<NALUnit> getNalUnits(); @Override int getPacketId(); @Override void accept(Visitor visitor);  }
@Test public void testGetPacketId() { assertThat(mpeg4DecodedStreamData.getPacketId(), is(PACKET_ID)); }