@Test
public void testGetSuffix() {

	DistinguishedName path = new DistinguishedName("uid=mtah.test, ou=people, ou=EU, o=example.com");
	Name suffix = path.getSuffix(0);
	assertThat(suffix.size()).isEqualTo(4);
	suffix = path.getSuffix(2);
	assertThat(suffix.size()).isEqualTo(2);
	assertThat(suffix.get(0)).isEqualTo("ou=people");
	suffix = path.getSuffix(4);
	assertThat(suffix.size()).isEqualTo(0);
	try {
		path.getSuffix(5);
		fail("ArrayIndexOutOfBoundsException expected");
	}
	catch (ArrayIndexOutOfBoundsException expected) {
		assertThat(true).isTrue();
	}
}