@Test
public void deleteAidHashRuleTest() throws NoSuchFieldException, IllegalAccessException {

    assertEquals("init length", 0, getLength());
    addItem(AID_BASIC, HASH_BASIC, RULE_BASIC);
    assertEquals("length after addition", 1, getLength());
    deleteAidHashRule(TestUtils.concatByteArray(AID_BASIC, HASH_BASIC, RULE_BASIC),
            (short) 0, (byte) AID_BASIC.length, (short) AID_BASIC.length, (byte) HASH_BASIC.length,
            (short) (AID_BASIC.length + HASH_BASIC.length), (byte) RULE_BASIC.length);
    assertEquals("length after deletion", 0, getLength());
}