### Question:
BaseStreamStepMeta extends StepWithMappingMeta implements StepMetaInterface { @Override public List<ResourceReference> getResourceDependencies( TransMeta transMeta, StepMeta stepInfo ) { List<ResourceReference> references = new ArrayList<>( 5 ); String realFilename = transMeta.environmentSubstitute( transformationPath ); ResourceReference reference = new ResourceReference( stepInfo ); references.add( reference ); if ( !Utils.isEmpty( realFilename ) ) { reference.getEntries().add( new ResourceEntry( realFilename, ResourceEntry.ResourceType.ACTIONFILE ) ); } return references; }  String getSubStep(); void setSubStep( String subStep ); void setTransformationPath( String transformationPath ); void setBatchSize( String batchSize ); void setBatchDuration( String batchDuration ); @Override void setDefault(); String getTransformationPath(); String getBatchSize(); String getBatchDuration(); @Override void replaceFileName( String fileName ); void check( List<CheckResultInterface> remarks, TransMeta transMeta,
                     StepMeta stepMeta, RowMetaInterface prev, String[] input, String[] output,
                     RowMetaInterface info, VariableSpace space, Repository repository,
                     IMetaStore metaStore ); @Override List<ResourceReference> getResourceDependencies( TransMeta transMeta, StepMeta stepInfo ); @Override String[] getReferencedObjectDescriptions(); @Override boolean[] isReferencedObjectEnabled(); @Override Object loadReferencedObject( int index, Repository rep, IMetaStore metaStore, VariableSpace space ); abstract RowMeta getRowMeta( String origin, VariableSpace space ); @Override void getFields( RowMetaInterface rowMeta, String origin, RowMetaInterface[] info, StepMeta nextStep,
                                   VariableSpace space, Repository repository, IMetaStore metaStore ); static final String TRANSFORMATION_PATH; static final String NUM_MESSAGES; static final String DURATION; static final String SUB_STEP; }### Answer:
@Test public void testGetResourceDependencies() { String stepId = "KafkConsumerInput"; String path = "/home/bgroves/fake.ktr"; StepMeta stepMeta = new StepMeta(); stepMeta.setStepID( stepId ); StuffStreamMeta inputMeta = new StuffStreamMeta(); List<ResourceReference> resourceDependencies = inputMeta.getResourceDependencies( new TransMeta(), stepMeta ); assertEquals( 0, resourceDependencies.get( 0 ).getEntries().size() ); inputMeta.setTransformationPath( path ); resourceDependencies = inputMeta.getResourceDependencies( new TransMeta(), stepMeta ); assertEquals( 1, resourceDependencies.get( 0 ).getEntries().size() ); assertEquals( path, resourceDependencies.get( 0 ).getEntries().get( 0 ).getResource() ); assertEquals( ResourceEntry.ResourceType.ACTIONFILE, resourceDependencies.get( 0 ).getEntries().get( 0 ).getResourcetype() ); testRoundTrip( inputMeta ); }