MediaEvent { public MediaEventType getType() { return type; } MediaEvent(final MediaEventType type, final String parameter); MediaEventType getType(); String getParameter(); @Override String toString();  }
@Test public void testGetType() throws Exception { MediaEvent event = buildMediaEvent(""); assertEquals(event.getType(), MediaEvent.MediaEventType.SCAN_NODE); }