@Test
public void testGreenLineWithoutAt() {

	String emailSuffix = "example.tld";
	String username = this.getHelper().createName();
	IdmIdentityDto identityDto = new IdmIdentityDto();
	identityDto.setFirstName(this.getHelper().createName());
	identityDto.setLastName(this.getHelper().createName());
	identityDto.setUsername(username);
	
	ValueGeneratorDto generator = getGenerator();
	this.createGenerator(getDtoType(), getGeneratorType(),
			this.createConfiguration(generator.getFormDefinition(), ImmutableMap.of(
					IdentityEmailGenerator.EMAIL_SUFFIX, emailSuffix,
					IdentityEmailGenerator.GENERATE_FROM_USERNAME, Boolean.TRUE.toString())), 1, null);
	IdmIdentityDto generatedDto = valueGeneratorManager.generate(identityDto);
	assertNotNull(generatedDto.getEmail());
	assertEquals(username + "@" + emailSuffix, generatedDto.getEmail());
}