### Question:
ComponentManagerService { public String deploy(final String pluginGAV) { final String pluginPath = ofNullable(pluginGAV) .map(gav -> mvnCoordinateToFileConverter.toArtifact(gav)) .map(Artifact::toPath) .orElseThrow(() -> new IllegalArgumentException("Plugin GAV can't be empty")); final Path m2 = instance.getContainer().getRootRepositoryLocationPath(); final String plugin = instance.addWithLocationPlugin(pluginGAV, m2.resolve(pluginPath).toAbsolutePath().toString()); lastUpdated = new Date(); if (started) { deployedComponentEvent.fire(new DeployedComponent()); } return plugin; }  void startupLoad(@Observes @Initialized(ApplicationScoped.class) final Object start); String deploy(final String pluginGAV); void undeploy(final String pluginGAV); Date findLastUpdated(); @Produces ComponentManager manager();  }### Answer:
@Test void deployExistingPlugin() { try { componentManagerService.deploy("org.talend.test1:the-test-component:jar:1.2.6:compile"); } catch (final IllegalArgumentException iae) { assertTrue(iae.getMessage().contains("Container 'the-test-component' already exists")); } }