@Test
public void testGetValueNamed() throws InvalidNameException {

    LdapName ldapName = new LdapName(EXPECTED_DN_STRING);
    assertThat("john.doe").isEqualTo(LdapUtils.getValue(ldapName, "cn"));
}