@Test
public void testGetViewSubject() throws Exception {

  EventImpl event = getEvent("MyEvent", Collections.<String, String>emptyMap(), view_xml);
  Assert.assertEquals("MY_VIEW", event.getViewSubject().getViewName());
  Assert.assertEquals("My View!", event.getViewSubject().getLabel());
  Assert.assertEquals("1.0.0", event.getViewSubject().getVersion());
}