@Test
public void testGetIcon() throws Exception {

  ViewEntity viewDefinition = getViewEntity();
  Assert.assertEquals("/this/is/the/icon/url/icon.png", viewDefinition.getIcon());
  viewDefinition.setIcon("/a/different/icon.png");
  Assert.assertEquals("/a/different/icon.png", viewDefinition.getIcon());
}