@Test
public void testGetEventId() throws Exception {

    final String response = "<event id=\"JVoiceXMLTrack:end\"/>";
    final TransformerFactory transformerFactory =
            TransformerFactory.newInstance();
    final Transformer transformer = transformerFactory.newTransformer();
    final StringReader reader = new StringReader(response);
    final Source source = new StreamSource(reader);
    final ResponseExtractor extractor = new ResponseExtractor();
    final Result result = new SAXResult(extractor);
    transformer.transform(source, result);
    Assert.assertEquals("JVoiceXMLTrack:end", extractor.getEventId());
}