public IndexConfig addAttribute(String attribute) {
        addAttributeInternal(attribute);

        return this;
    }
@Test(expected = IllegalArgumentException.class)
    public void testAttributeEmptyAdd() {
        new IndexConfig().addAttribute("");
    }