### Question:
JobEntryAnalyzerProvider extends BaseKettleMetaverseComponent implements IJobEntryAnalyzerProvider { protected void loadAnalyzerTypeMap() { analyzerTypeMap = new HashMap<Class<? extends JobEntryInterface>, Set<IJobEntryAnalyzer>>(); if ( jobEntryAnalyzers != null ) { for ( IJobEntryAnalyzer analyzer : jobEntryAnalyzers ) { addAnalyzer( analyzer ); } } }  @Override List<IJobEntryAnalyzer> getAnalyzers(); @Override List<IJobEntryAnalyzer> getAnalyzers( Collection<Class<?>> types ); void setJobEntryAnalyzers( List<IJobEntryAnalyzer> analyzers ); void setClonableJobEntryAnalyzers( List<IJobEntryAnalyzer> analyzers ); @Override void addAnalyzer( IJobEntryAnalyzer analyzer ); void addClonableAnalyzer( IClonableJobEntryAnalyzer analyzer ); @Override void removeAnalyzer( IJobEntryAnalyzer analyzer ); void removeClonableAnalyzer( IClonableJobEntryAnalyzer analyzer );  }### Answer:
@SuppressWarnings( "unchecked" ) @Test public void testLoadAnalyzerTypeMap() throws Exception { IJobEntryAnalyzer baseStepAnalyzer = mock( IJobEntryAnalyzer.class ); when( baseStepAnalyzer.getSupportedEntries() ).thenReturn( Sets.newSet( JobEntryInterface.class ) ); IJobEntryAnalyzer tableOutputStepAnalyzer = mock( IJobEntryAnalyzer.class ); when( tableOutputStepAnalyzer.getSupportedEntries() ).thenReturn( Sets.newSet( JobEntryTrans.class ) ); IJobEntryAnalyzer tableOutputStepAnalyzer2 = mock( IJobEntryAnalyzer.class ); when( tableOutputStepAnalyzer2.getSupportedEntries() ).thenReturn( Sets.newSet( JobEntryTrans.class ) ); provider.jobEntryAnalyzers = Lists.newArrayList( baseStepAnalyzer, tableOutputStepAnalyzer, tableOutputStepAnalyzer2 ); provider.loadAnalyzerTypeMap(); Set<IJobEntryAnalyzer> baseStepAnalyzers = provider.analyzerTypeMap.get( JobEntryInterface.class ); assertNotNull( baseStepAnalyzers ); assertEquals( baseStepAnalyzers.size(), 1 ); Set<IJobEntryAnalyzer> tableOutputStepAnalyzers = provider.analyzerTypeMap.get( JobEntryTrans.class ); assertNotNull( tableOutputStepAnalyzers ); assertEquals( tableOutputStepAnalyzers.size(), 2 ); }