XmlExtractorFactory implements IExtractorFactory<StreamConnector> { @Override public Class<StreamConnector> getConnectorType() { return StreamConnector.class; } XmlExtractorFactory(); @Override String getExtractorType(); @Override Class<StreamConnector> getConnectorType(); @Override Extractor createExtractor(StreamConnector connector, ExtractorModel model); static final String XPATH_EXPRESSION_PROPERTY; static final String XPATH_NS_BINDING_PROPERTY; }
@Test public void testGetConnectorType() { assertEquals(StreamConnector.class, extractorFactory.getConnectorType()); }