@Test
public void testGetLdapRdnForKey() throws Exception {

	DistinguishedName dn = new DistinguishedName("cn=john doe, ou=Some company, c=SE");
	LdapRdn ldapRdn = dn.getLdapRdn("ou");
	assertThat(ldapRdn).isEqualTo(new LdapRdn("ou=Some company"));
}