@Override
    public String toString() {
        return "AttributeConfig{"
                + "name='" + name + '\''
                + "extractorClassName='" + extractorClassName + '\''
                + '}';
    }
@Test
    public void validToString() {
        AttributeConfig config = new AttributeConfig("iq", "com.test.IqExtractor");

        String toString = config.toString();

        assertThat(toString).contains("iq");
        assertThat(toString).contains("com.test.IqExtractor");
    }