### Question:
CaseManagementShapeControl extends DelegateWiresShapeControl { @Override public WiresShapeControlImpl getDelegate() { return shapeControl; } CaseManagementShapeControl(final WiresShape shape,
                                      final CaseManagementContainmentStateHolder state); @Override WiresShapeControlImpl getDelegate();  }### Answer:
@Test public void checkRightDelegates() { final WiresShapeControlImpl delegate = tested.getDelegate(); final WiresParentPickerControlImpl parentPickerControl = (WiresParentPickerControlImpl) delegate.getParentPickerControl(); final WiresShapeLocationControlImpl shapeLocationControl = parentPickerControl.getShapeLocationControl(); assertTrue(shapeLocationControl instanceof CaseManagementShapeLocationControl); final WiresContainmentControl containmentControl = delegate.getContainmentControl(); assertTrue(containmentControl instanceof CaseManagementContainmentControl); assertNull(delegate.getDockingControl()); }