### Question:
StreamLookupStepAnalyzer extends StepAnalyzer<StreamLookupMeta> { @Override public Map<String, RowMetaInterface> getInputFields( StreamLookupMeta meta ) { Map<String, RowMetaInterface> rowMeta = super.getInputFields( meta ); if ( parentTransMeta != null ) { for ( String prevStepName : parentTransMeta.getPrevStepNames( parentStepMeta ) ) { if ( !rowMeta.containsKey( prevStepName ) ) { try { rowMeta.put( prevStepName, parentTransMeta.getStepFields( prevStepName ) ); } catch ( KettleStepException e ) { LOGGER.warn( Messages.getString( "WARNING.CannotDetermineRowMeta", prevStepName, e.toString() ) ); } } } } return rowMeta; }  @Override Set<Class<? extends BaseStepMeta>> getSupportedSteps(); @Override Map<String, RowMetaInterface> getInputFields( StreamLookupMeta meta ); @Override Set<ComponentDerivationRecord> getChangeRecords( StreamLookupMeta meta );  }### Answer:
@Test public void testGetInputFields() throws Exception { analyzer.setParentTransMeta( parentTransMeta ); analyzer.setParentStepMeta( parentStepMeta ); Map<String, RowMetaInterface> inputRowMeta = analyzer.getInputFields( streamLookupMeta ); assertNotNull( inputRowMeta ); assertEquals( 2, inputRowMeta.size() ); }