Assert.assertEquals("INSTANCE1", viewContext.getInstanceName());
}
@Test
public void testGetProperties() throws Exception {
InstanceConfig instanceConfig = InstanceConfigTest.getInstanceConfigs().get(0);
ViewEntity viewDefinition = ViewEntityTest.getViewEntity();
ViewInstanceEntity viewInstanceDefinition = new ViewInstanceEntity(viewDefinition, instanceConfig);
ViewRegistry viewRegistry = createNiceMock(ViewRegistry.class);
viewInstanceDefinition.putProperty("p1", "v1");
viewInstanceDefinition.putProperty("p2", "v2");