public PluggableArtifactConfig findByArtifactId(String artifactId) {
        for (PluggableArtifactConfig artifact : getPluggableArtifactConfigs()) {
            if (artifact.getId().equals(artifactId)) {
                return artifact;
            }
        }
        return null;
    }
@Test
    public void findByArtifactId_shouldReturnNullWhenPluggableArtifactConfigNotExistWithGivenId() {
        ArtifactTypeConfigs allConfigs = new ArtifactTypeConfigs();
        allConfigs.add(new PluggableArtifactConfig("s3", "cd.go.s3"));
        allConfigs.add(new PluggableArtifactConfig("docker", "cd.go.docker"));

        final PluggableArtifactConfig s3 = allConfigs.findByArtifactId("foo");
        assertNull(s3);
    }