### Question:
EventImpl implements Event { public Map<String, String> getProperties() { return properties; } EventImpl(String id, Map<String, String> properties, ViewDefinition viewSubject);  EventImpl(String id, Map<String, String> properties, ViewInstanceDefinition viewInstanceSubject); private  EventImpl(String id, Map<String, String> properties,
                ViewDefinition viewSubject, ViewInstanceDefinition viewInstanceSubject); String getId(); Map<String, String> getProperties(); ViewDefinition getViewSubject(); ViewInstanceDefinition getViewInstanceSubject(); @Override String toString();  }### Answer:
@Test public void testGetProperties() throws Exception { Map<String, String> properties = new HashMap<>(); properties.put("p1", "v1"); properties.put("p2", "v2"); EventImpl event = getEvent("MyEvent", properties, view_xml); Assert.assertEquals(properties, event.getProperties()); }