@Test
public void testStringConstructor() {

	DirContextAdapter tested = new DirContextAdapter("cn=john doe, ou=company");
	assertThat(tested.getDn()).isEqualTo(LdapUtils.newLdapName("cn=john doe, ou=company"));
}