  @Test(groups = "asn1", dataProvider = "ints")
  public void decodeUnsignedPrimitive(
    final byte[] bytes, final BigInteger expected, final BigInteger unsigned, final int unsignedPrim)
    throws Exception
  {

    Assert.assertEquals(IntegerType.decodeUnsignedPrimitive(new DefaultDERBuffer(bytes)), unsignedPrim);
  }