### Question:
BaseStreamStepMeta extends StepWithMappingMeta implements StepMetaInterface { @Override public boolean[] isReferencedObjectEnabled() { return new boolean[] { !Utils.isEmpty( transformationPath ) }; }  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 testIsReferencedObjectEnabled() { BaseStreamStepMeta meta = new StuffStreamMeta(); assertEquals( 1, meta.isReferencedObjectEnabled().length ); assertFalse( meta.isReferencedObjectEnabled()[ 0 ] ); meta.setTransformationPath( "/some/path" ); assertTrue( meta.isReferencedObjectEnabled()[ 0 ] ); testRoundTrip( meta ); }