@Override
    public VectorCollectionConfig setName(String name) {
        validateName(name);
        this.name = name;
        return this;
    }
@Test
    public void setNameValidation_failed() {
        assertThatThrownBy(() -> new VectorCollectionConfig().setName("asd*^"))
                .isInstanceOf(IllegalArgumentException.class)
                .hasMessage("The name of the vector collection should "
                        + "only consist of letters, numbers, and the symbols \"-\", \"_\" or \"*\".");
    }