/**
* Test profile enum.
*/
@Test
public void testProfile(){
final Profile emailOpt = Profile.findProfile("EMAIL");
assertEquals("Should be equals", "email", emailOpt.toString());
final Profile usernameOpt = Profile.findProfile("USERNAME");
assertEquals("Should be equals", "username", usernameOpt.toString());
final Profile languageOpt = Profile.findProfile("LANGUAGE");
assertEquals("Should be equals", "language", languageOpt.toString());
final Profile pictureOpt = Profile.findProfile("PICTURE");
assertEquals("Should be equals", "picture", pictureOpt.toString());
final Profile privateOpt = Profile.findProfile("PRIVATE");
assertEquals("Should be equals", "private", privateOpt.toString());
final Profile realNameOpt = Profile.findProfile("REAL_NAME");
assertEquals("Should be equals", "completeName", realNameOpt.toString());
}