3, ByteString.valueOf("password"));
LDAPMessage message = new LDAPMessage(1, bindRequest);
w.writeMessage(message);
message = r.readMessage();
BindResponseProtocolOp bindResponse =
message.getBindResponseProtocolOp();
assertEquals(bindResponse.getResultCode(), 0);
ArrayList<ByteString> values = new ArrayList<ByteString>();
values.add(ByteString.valueOf("foo"));
LDAPAttribute attr = new LDAPAttribute("description", values);