blogPostInlinePage.setContent("Modified content");
blogPostInlinePage.setCategories(Arrays.asList("News", "Personal"));
blogPostInlinePage.setPublished(true);
// Assert the result.
blogPostViewPage = blogPostInlinePage.clickSaveAndView();
Assert.assertEquals("Modified title", blogPostViewPage.getDocumentTitle());
Assert.assertEquals("Modified content", blogPostViewPage.getContent());
Assert.assertEquals(Arrays.asList("News", "Personal"), blogPostViewPage.getCategories());
Assert.assertTrue(blogPostViewPage.isPublished());