### Question:
CaseManagementContainmentAcceptorControlImpl extends AbstractAcceptorControl implements ContainmentAcceptorControl<AbstractCanvasHandler> { @Override protected void onInit(final WiresCanvas canvas) { canvas.getWiresManager().setContainmentAcceptor(containmentAcceptor); } @Inject  CaseManagementContainmentAcceptorControlImpl(final @CaseManagementEditor CaseManagementCanvasCommandFactory canvasCommandFactory,
                                                        final CaseManagementContainmentStateHolder state); @Override boolean allow(final Element parent,
                         final Node[] children); @Override boolean accept(final Element parent,
                          final Node[] children);  }### Answer:
@Test public void checkDoInit() { control.onInit(canvas); final IContainmentAcceptor containmentAcceptor = getContainmentAcceptor(); assertNotNull(containmentAcceptor); assertTrue(containmentAcceptor instanceof CaseManagementContainmentAcceptorControlImpl.CanvasManagementContainmentAcceptor); }