new LdapMessage(LdapASN1Constant.OP_BIND_RESPONSE,
new BindResponse(), null),
new LdapMessage(LdapASN1Constant.OP_SEARCH_RESULT_DONE,
new EncodableLdapResult(), null) });
initialDirContext.lookup("");
preValue = initialDirContext.addToEnvironment(
Context.SECURITY_AUTHENTICATION, "simple");
assertFalse("simple".equals(preValue));