@Test
public void testEquals()
{

  final LdapAttribute la1 = LdapAttribute.builder().build();
  Assert.assertEquals(la1, la1);
  Assert.assertEquals(LdapAttribute.builder().build(), LdapAttribute.builder().build());
  Assert.assertEquals(
    LdapAttribute.builder().name("uid").values("1").build(),
    LdapAttribute.builder().name("uid").values("1").build());
  Assert.assertEquals(
    LdapAttribute.builder().name("uid").values("1").binary(true).build(),
    LdapAttribute.builder().name("uid").values("1").binary(true).build());
  Assert.assertEquals(
    LdapAttribute.builder().name("uid").values("1").binary(true).build(),
    LdapAttribute.builder().name("uid").values("1").binary(false).build());
  Assert.assertEquals(
    LdapAttribute.builder().name("uid").values("1", "2", "3").build(),
    LdapAttribute.builder().name("uid").values("1", "2", "3").build());
  Assert.assertNotEquals(
    LdapAttribute.builder().name("uuid").values("1").build(),
    LdapAttribute.builder().name("uid").values("1").build());
  Assert.assertNotEquals(
    LdapAttribute.builder().name("uid").values("2").build(),
    LdapAttribute.builder().name("uid").values("1").build());
  Assert.assertNotEquals(
    LdapAttribute.builder().name("uid").values("1", "2", "3" , "4").build(),
    LdapAttribute.builder().name("uid").values("1", "2", "3").build());
}