@Test
public void testGetWorkflowsByEvent() throws Exception {

  List<Workflow> wflows = wmc.getWorkflowsByEvent("long");
  assertNotNull(wflows);
  assertThat(wflows, hasSize(2));
  assertThat(wflows.get(0).getName(), equalTo("Long Workflow"));
}