### Question:
DefaultBuildExecutorManager implements BuildExecutorManager, Initializable { public ContinuumBuildExecutor getBuildExecutor( String builderType ) throws ContinuumException { ContinuumBuildExecutor executor = executors.get( builderType ); if ( executor == null ) { throw new ContinuumException( "No such executor: '" + builderType + "'." ); } return executor; }  void initialize(); ContinuumBuildExecutor getBuildExecutor( String builderType ); boolean hasBuildExecutor( String executorId );  }### Answer:
@Test public void testMavenTwoBuildExecutorDependencyInjection() throws Exception { MavenTwoBuildExecutor executor = (MavenTwoBuildExecutor) builderManager.getBuildExecutor( MavenTwoBuildExecutor.ID ); assertCommonFields( executor ); assertNotNull( executor.getBuilderHelper() ); assertNotNull( executor.getProjectHelper() ); assertNotNull( executor.getConfigurationService() ); }
@Test public void testMavenOneBuildExecutorDependencyInjection() throws Exception { MavenOneBuildExecutor executor = (MavenOneBuildExecutor) builderManager.getBuildExecutor( MavenOneBuildExecutor.ID ); assertCommonFields( executor ); assertNotNull( executor.getMetadataHelper() ); }
@Test public void testAntBuildExecutorDependencyInjection() throws Exception { AntBuildExecutor executor = (AntBuildExecutor) builderManager.getBuildExecutor( AntBuildExecutor.ID ); assertCommonFields( executor ); }
@Test public void testShellBuildExecutorDependencyInjection() throws Exception { ShellBuildExecutor executor = (ShellBuildExecutor) builderManager.getBuildExecutor( ShellBuildExecutor.ID ); assertCommonFields( executor ); }