@Test
public void getTagNumber() {

  Tag tag;
  tag = new Tag(0x55, Tag.APPLICATION, Tag.TagType.PRIMITIVE, 2);
  Assert.assertEquals(0x55, tag.getTagNumber());
  tag = new Tag(ByteArrayUtil.fromHex("BF550100"), 0);
  Assert.assertEquals(0x55, tag.getTagNumber());
}