@Test
public void testWorkitemDefinitions() throws Exception {

    ConfigGroup group = workbenchConfigurationHelper.getWorkItemElementDefinitions();
    assertEquals(ConfigType.EDITOR, group.getType());
    assertEquals(WorkItemsEditorService.WORK_ITEMS_EDITOR_SETTINGS, group.getName());
    assertEquals("", group.getDescription());
    assertEquals(7, group.getItems().size());
    assertEquals("\"customEditor\" : \"true\"", group.getConfigItemValue(WorkItemsEditorService.WORK_ITEMS_EDITOR_SETTINGS_CUSTOM_EDITOR));
    assertEquals("\"parameterValues\" : [\n" +
            "   \"MyFirstParam\" : \"A,B,C\",   \n" +
            "   \"MySecondParam\" : \"X,Y,Z\"\n" +
            "]", group.getConfigItemValue(WorkItemsEditorService.WORK_ITEMS_EDITOR_SETTINGS_PARAMETER_VALUES));
    assertEquals(group.getConfigItemValue(WorkItemsEditorService.WORK_ITEMS_EDITOR_SETTINGS_DEFAULT_HANDLER), "\"defaultHandler\" : \"mvel: new DefaultHandler()\"");
}