@Override public String toString() { return String.format( "[%s@%d::criticality=%s, sortResult=%s, attributeName=%s]", getClass().getName(), hashCode(), getCriticality(), sortResult, attributeName); }
@Override public String toString() { return String.format( "[%s@%d::criticality=%s, sortResult=%s, attributeName=%s]", getClass().getName(), hashCode(), getCriticality(), sortResult, attributeName); }
@Override public String toString() { return String.format( "[%s@%d::criticality=%s, sortResult=%s, attributeName=%s]", getClass().getName(), hashCode(), getCriticality(), sortResult, attributeName); }
@Override public int hashCode() { return LdapUtils.computeHashCode(HASH_CODE_SEED, getOID(), getCriticality(), sortResult, attributeName); }
@Override public int hashCode() { return LdapUtils.computeHashCode(HASH_CODE_SEED, getOID(), getCriticality(), sortResult, attributeName); }
@Override public int hashCode() { return LdapUtils.computeHashCode(HASH_CODE_SEED, getOID(), getCriticality(), sortResult, attributeName); }
/** * @param berValue to encode. * @param expected sort response control to test. * * @throws Exception On test failure. */ @Test(groups = {"control"}, dataProvider = "response") public void decode(final byte[] berValue, final SortResponseControl expected) throws Exception { final SortResponseControl actual = new SortResponseControl(expected.getCriticality()); actual.decode(berValue); Assert.assertEquals(actual, expected); } }