@Test
public void testDiacritics() {

	IdmTreeTypeDto type = getHelper().createTreeType();
	IdmTreeNodeDto node = new IdmTreeNodeDto();
	node.setTreeType(type.getId());
	node.setName("abcdřřřžžžééé");
	
	IdmGenerateValueDto generator = this.createGenerator(getDtoType(), getGeneratorType(), null, 1, null);
	
	IdmTreeNodeDto generated = valueGeneratorManager.generate(node);
	
	assertNotNull(generated.getCode());
	assertEquals("abcdrrrzzzeee", generated.getCode());
	generatedAttributeService.delete(generator);
}