@Test
public void testWithoutPrefixAndSuffix() {

	IdmIdentityDto identityDto = getHelper().createIdentity();
	IdmIdentityContractDto contractDto = new IdmIdentityContractDto();
	contractDto.setIdentity(identityDto.getId());
	ValueGeneratorDto generator = getGenerator();
	this.createGenerator(getDtoType(), getGeneratorType(),
			this.createConfiguration(generator.getFormDefinition(), null), 1, null);
	IdmIdentityContractDto generated = valueGeneratorManager.generate(contractDto);
	assertNotNull(generated);
	assertEquals(identityDto.getUsername(), generated.getPosition());
}