/** Functionality check: changing profile information. */
@Test
public void testEditProfile()
{
ProfileEditPage profileEditPage = this.customProfilePage.editProfile();
profileEditPage.setUserFirstName(USER_FIRST_NAME);
profileEditPage.setUserLastName(USER_LAST_NAME);
profileEditPage.setUserCompany(USER_COMPANY);
profileEditPage.setUserAbout(USER_ABOUT);
profileEditPage.setUserEmail(USER_EMAIL);
profileEditPage.setUserPhone(USER_PHONE);
profileEditPage.setUserAddress(USER_ADDRESS);
profileEditPage.setUserBlog(USER_BLOG);
profileEditPage.setUserBlogFeed(USER_BLOGFEED);
profileEditPage.clickSaveAndView();
// Check that the information was updated
Assert.assertEquals(USER_FIRST_NAME, this.customProfilePage.getUserFirstName());
Assert.assertEquals(USER_LAST_NAME, this.customProfilePage.getUserLastName());
Assert.assertEquals(USER_COMPANY, this.customProfilePage.getUserCompany());