  @Test
  public void explicitDecoding() throws IOException {


    ByteArrayInputStream berInputStream = new ByteArrayInputStream(expectedBytes);
    BerObjectIdentifier oi = new BerObjectIdentifier();

    oi.decode(berInputStream, true);

    assertArrayEquals(objectIdentifierComponents, oi.value);

    ByteArrayInputStream berInputStream2 = new ByteArrayInputStream(expectedBytes2);
    BerObjectIdentifier oi2 = new BerObjectIdentifier();
    oi2.decode(berInputStream2, true);
  }