@Override
    public boolean validateTree(ValidationContext validationContext) {
        validate(validationContext);
        return !hasErrors();
    }
@Test
    public void validateTree_shouldValidateNullId() {
        PluggableArtifactConfig artifactConfig = new PluggableArtifactConfig(null, "s3");

        final ArtifactStores artifactStores = new ArtifactStores(new ArtifactStore("s3", "cd.go.s3"));
        final boolean result = artifactConfig.validateTree(ValidationContextMother.validationContext(artifactStores));

        assertFalse(result);
    }