### Question:
LoadFileInputMeta extends BaseStepMeta implements StepMetaInterface { public void loadXML( Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore ) throws KettleXMLException { readData( stepnode ); } LoadFileInputMeta(); String getShortFileNameField(); void setShortFileNameField( String field ); String getPathField(); void setPathField( String field ); String isHiddenField(); void setIsHiddenField( String field ); String getLastModificationDateField(); void setLastModificationDateField( String field ); String getUriField(); void setUriField( String field ); String getRootUriField(); void setRootUriField( String field ); String getExtensionField(); void setExtensionField( String field ); String[] getFileRequired(); void setFileRequired( String[] fileRequired ); @Deprecated String[] getExludeFileMask(); String[] getExcludeFileMask(); void setExcludeFileMask( String[] excludeFileMask ); @Deprecated boolean addResultFile(); boolean getAddResultFile(); boolean isIgnoreEmptyFile(); void setIgnoreEmptyFile( boolean IsIgnoreEmptyFile ); boolean isIgnoreMissingPath(); void setIgnoreMissingPath( boolean IsIgnoreMissingPath ); void setAddResultFile( boolean addresultfile ); LoadFileInputField[] getInputFields(); void setInputFields( LoadFileInputField[] inputFields ); String getDynamicFilenameField(); void setDynamicFilenameField( String DynamicFilenameField ); boolean getFileInFields(); @Deprecated boolean getIsInFields(); @Deprecated void setIsInFields( boolean IsInFields ); void setFileInFields( boolean IsInFields ); String[] getFileMask(); void setFileMask( String[] fileMask ); String[] getFileName(); String[] getIncludeSubFolders(); void setIncludeSubFolders( String[] includeSubFoldersin ); String getRequiredFilesCode( String tt ); String getRequiredFilesDesc( String tt ); void setFileName( String[] fileName ); String getFilenameField(); void setFilenameField( String filenameField ); @Deprecated boolean includeFilename(); boolean getIncludeFilename(); void setIncludeFilename( boolean includeFilename ); @Deprecated boolean includeRowNumber(); boolean getIncludeRowNumber(); void setIncludeRowNumber( boolean includeRowNumber ); long getRowLimit(); void setRowLimit( long rowLimit ); String getRowNumberField(); void setRowNumberField( String rowNumberField ); String getEncoding(); void setEncoding( String encoding ); void loadXML( Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore ); Object clone(); String getXML(); void allocate( int nrfiles, int nrfields ); void setDefault(); void getFields( RowMetaInterface r, String name, RowMetaInterface[] info, StepMeta nextStep,
      VariableSpace space, Repository repository, IMetaStore metaStore ); void readRep( Repository rep, IMetaStore metaStore, ObjectId id_step, List<DatabaseMeta> databases ); void saveRep( Repository rep, IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step ); FileInputList getFiles( VariableSpace space ); void check( List<CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepMeta, RowMetaInterface prev,
      String[] input, String[] output, RowMetaInterface info, VariableSpace space, Repository repository,
      IMetaStore metaStore ); String exportResources( VariableSpace space, Map<String, ResourceDefinition> definitions,
      ResourceNamingInterface resourceNamingInterface, Repository repository, IMetaStore metaStore ); StepInterface getStep( StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta transMeta,
      Trans trans ); StepDataInterface getStepData(); boolean supportsErrorHandling(); @Override boolean equals( Object o ); @Override int hashCode(); static final String[] RequiredFilesDesc; static final String[] RequiredFilesCode; }### Answer:
@Test public void testLoadXML() throws Exception { LoadFileInputMeta origMeta = createMeta(); LoadFileInputMeta testMeta = new LoadFileInputMeta(); DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse( new InputSource( new StringReader( "<step>" + xmlOrig + "</step>" ) ) ); IMetaStore metaStore = null; testMeta.loadXML( doc.getFirstChild(), null, metaStore ); assertEquals( origMeta, testMeta ); }