ComponentColumn implements Column { public void requiredLock() { lockRequiredEvent.fire(new LockRequiredEvent()); } @Inject  ComponentColumn(final View view,
                           DnDManager dndManager,
                           LayoutDragComponentHelper layoutDragComponentHelper,
                           Event<ColumnResizeEvent> columnResizeEvent,
                           Event<LayoutEditorElementSelectEvent> columnSelectEvent,
                           Event<LayoutEditorElementUnselectEvent> columnUnselectEvent,
                           Event<LockRequiredEvent> lockRequiredEvent,
                           ManagedInstance<ComponentColumnPart> componentColumnManagedInstance); @PostConstruct void post(); void init(LayoutEditorElement parent,
                     Integer columnWidth,
                     LayoutComponent layoutComponent,
                     ParameterizedCommand<ColumnDrop> dropCommand,
                     ParameterizedCommand<Column> removeCommand,
                     Supplier<LayoutTemplate> currentLayoutTemplateSupplier,
                     Supplier<Boolean> lockSupplier,
                     boolean newComponent); @Override LayoutEditorElementType geElementType(); @Override LayoutEditorElement getParentElement(); void setParentElement(LayoutEditorElement parentElement); boolean isSelectable(); void setSelectable(boolean selectable); @Override boolean isSelected(); @Override void setSelected(boolean selected); void setupParts(); @Override Map<String, String> getProperties(); @Override void setProperty(String property, String value); @Override void removeProperty(String property); @Override void clearProperties(); @Override List<PropertyEditorCategory> getPropertyCategories(); void setDropCommand(
            ParameterizedCommand<ColumnDrop> dropCommand); void remove(); void edit(); boolean shouldPreviewDrop(); void dragStartComponent(); void dragEndComponent(); @Override LayoutComponent getLayoutComponent(); @Override boolean hasInnerRows(); @Override void calculateWidth(); @Override void reduceWidth(); @Override void incrementWidth(); @Override void setupResize(boolean canResizeLeft,
                            boolean canResizeRight); boolean canResizeLeft(); void resizeLeft(); boolean canResizeRight(); void resizeRight(); void recalculateWidth(); Integer getColumnWidth(); void setColumnWidth(Integer size); void onDrop(ColumnDrop.Orientation orientation,
                       String dndData); void requiredLock(); @Override boolean isInnerColumn(); void setColumnHeight(Integer columnHeight); void updateView(); UberElement<ComponentColumn> getView(); LayoutDragComponentHelper getLayoutDragComponentHelper(); boolean enableSideDnD(); @Override String getId(); void setId(String id); void setup(String id,
                      LayoutTemplate.Style pageStyle); Integer getColumnHeight(); void onSelected(); void onDragEnd(@Observes DragComponentEndEvent dragComponentEndEvent); @Override List<LayoutEditorElementPart> getLayoutEditorElementParts(); LayoutDragComponent getLayoutDragComponent();  }
@Test public void testRequiredLock() { componentColumn.requiredLock(); verify(lockRequiredEvent, times(1)).fire(any(LockRequiredEvent.class)); }