@Override
    public void setConfigAttributes(Object attributes) {
        this.clear();
        if (attributes != null) {
            for (Map attributeMap : (List<Map>) attributes) {
                String tabName = (String) attributeMap.get(Tab.NAME);
                String path = (String) attributeMap.get(Tab.PATH);
                if (StringUtils.isBlank(tabName) && StringUtils.isBlank(path)) {
                    continue;
                }
                this.add(new Tab(tabName, path));
            }
        }
    }
@Test
    public void shouldSetAttributedOfTabs() {
        Tabs tabs = new Tabs();
        tabs.setConfigAttributes(List.of(Map.of(Tab.NAME, "tab1", Tab.PATH, "path1"), Map.of(Tab.NAME, "tab2", Tab.PATH, "path2")));
        assertThat(tabs.get(0).getName(), is("tab1"));
        assertThat(tabs.get(0).getPath(), is("path1"));
        assertThat(tabs.get(1).getName(), is("tab2"));
        assertThat(tabs.get(1).getPath(), is("path2"));
    }