@Test
public void testGetAll() throws Exception {

	DistinguishedName path = new DistinguishedName("uid=mtah.test, ou=people, ou=EU, o=example.com");
	Enumeration elements = path.getAll();
	String element = (String) elements.nextElement();
	assertThat(element).isEqualTo("o=example.com");
	element = (String) elements.nextElement();
	assertThat(element).isEqualTo("ou=EU");
	element = (String) elements.nextElement();
	assertThat(element).isEqualTo("ou=people");
	element = (String) elements.nextElement();
	assertThat(element).isEqualTo("uid=mtah.test");
}