"sn: xyz",
"test-attr-regex: invalid regex");
InternalClientConnection conn =
InternalClientConnection.getRootConnection();
AddOperation addOperation = conn.processAdd(entry.getDN(),
entry.getObjectClasses(),
entry.getUserAttributes(),
entry.getOperationalAttributes());
assertEquals(addOperation.getResultCode(),
ResultCode.INVALID_ATTRIBUTE_SYNTAX);