assertTrue(eventContext.targetMustExist());
MockUnsolicitedNotificationListener listener = new MockUnsolicitedNotificationListener();
MockLdapMessage message = new MockLdapMessage(new LdapMessage(
LdapASN1Constant.OP_EXTENDED_RESPONSE,
new DisconnectResponse(), null));
message.setMessageId(0);
server.setResponseSeq(new LdapMessage[] { message });
eventContext.addNamingListener("", "(objectclass=cn)", new Object[0],
new SearchControls(), listener);
server.disconnectNotify();