@Test
public void testGetViewEntity() throws Exception {

  InstanceConfig instanceConfig = InstanceConfigTest.getInstanceConfigs().get(0);
  ViewEntity viewDefinition = ViewEntityTest.getViewEntity();
  ViewInstanceEntity viewInstanceDefinition = new ViewInstanceEntity(viewDefinition, instanceConfig);
  Assert.assertEquals(viewDefinition, viewInstanceDefinition.getViewEntity());
}