@Override
  public void loadXML( Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore ) throws KettleXMLException {
    readData( stepnode, metaStore );
  }
@Test
  public void testLoadXML()
    throws KettleException, URISyntaxException, SAXException, IOException, ParserConfigurationException {
    URL resource = getClass().getClassLoader()
      .getResource( getClass().getPackage().getName().replace( ".", "/" ) + "/AvroInput.xml" );
    Path path = Paths.get( resource.toURI() );
    Node node = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse( Files.newInputStream( path ) )
      .getDocumentElement();
    meta.loadXML( node, databases, metaStore );
    assertEquals( "SampleFileName", meta.getDataLocation() );
    assertEquals( "SampleSchemaFileName", meta.getSchemaLocation() );

    AvroInputField field = meta.getInputFields()[ 0 ];
    assertEquals( "SampleName", field.getPentahoFieldName() );
    assertEquals( "SamplePath", field.getAvroFieldName() );
    assertEquals( "string", field.getAvroType().getType() );
  }