@Override
    public List<String> getAttributes() {
        return attributes;
    }
@Test
    public void testGetAttributes() throws Exception {
        final ListField list = new ListField("list", "The List", Collections.emptyList(), "Hello, this is a list", ConfigurationField.Optional.NOT_OPTIONAL);
        assertThat(list.getAttributes().size()).isEqualTo(0);

        final ListField list1 = new ListField("list", "The List", Collections.emptyList(), Collections.emptyMap(), "Hello, this is a list", ConfigurationField.Optional.NOT_OPTIONAL, ListField.Attribute.ALLOW_CREATE);
        assertThat(list1.getAttributes().size()).isEqualTo(1);
        assertThat(list1.getAttributes()).contains("allow_create");
    }