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