@Test
public void setName() {

    AbstractFormItem<String> formItem = formItem(false);
    formItem.setName("foo");
    verify(readOnlyAppearance).setName("foo");
    verify(editingAppearance).setName("foo");
}