@Test
 public void createAccordionGroupTest() {
   PropertyEditorWidget propertyEditorWidget = GWT.create(PropertyEditorWidget.class);
   PropertyEditorCategory category = new PropertyEditorCategory("Category");
   AccordionGroup accordionGroup =
       PropertyEditorHelper.createAccordionGroup(propertyEditorWidget, category);
   verify(accordionGroup).setHeading("Category");
   verify(accordionGroup).addShowHandler(any(ShowHandler.class));
 }
 @Test
 public void createOpenAccordionGroupTest() {
   PropertyEditorWidget propertyEditorWidget = GWT.create(PropertyEditorWidget.class);
   when(propertyEditorWidget.getLastOpenAccordionGroupTitle()).thenReturn("Category");
   PropertyEditorCategory category = new PropertyEditorCategory("Category");
   AccordionGroup accordionGroup =
       PropertyEditorHelper.createAccordionGroup(propertyEditorWidget, category);
   verify(accordionGroup).setHeading("Category");
   verify(accordionGroup).addShowHandler(any(ShowHandler.class));
   verify(accordionGroup).setDefaultOpen(true);
 }