}
@Test
public void should_use_maven_executor_provided_by_maven() {
container.add(mock(ExtensionInstaller.class), projectBootstrapper);
MavenPluginExecutor mavenPluginExecutor = mock(MavenPluginExecutor.class);
container.add(mavenPluginExecutor);
container.doBeforeStart();
assertThat(container.getComponentsByType(MavenPluginExecutor.class)).hasSize(1);
assertThat(container.getComponentByType(MavenPluginExecutor.class)).isSameAs(mavenPluginExecutor);