@Test
public void testGetProperties() throws Exception {

  Map<String, String> properties = new HashMap<String, String>();
  properties.put("p1", "v1");
  properties.put("p2", "v2");
  EventImpl event = getEvent("MyEvent", properties, view_xml);
  Assert.assertEquals(properties, event.getProperties());
}