public void setSampleVariableName(String sampleVarName) {
        sampleVariableName = sampleVarName;
        isNativeSampleVariableName = NATIVE_VARIABLES.contains(sampleVarName);
    }
@Test
    public void testCreateGroupInfosExceptions() {
        Sample sample = new Sample(0, sampleMetaData, data);
        customGraphConsumer.setSampleVariableName("label");

        Assertions.assertThrows(
                Exception.class,
                () -> map.get("Generic group").getValueSelector().select("label", sample));
    }