### Question:
DocumentationLinksFieldRenderer extends FieldRenderer<DocumentationLinksFieldDefinition, DefaultFormGroup> { @Override public void init(final FormRenderingContext renderingContext, final DocumentationLinksFieldDefinition field) { final Object model = renderingContext.getModel(); if (model instanceof DRGElement) { widget.setDMNModel((DRGElement) model); } superInit(renderingContext, field); } DocumentationLinksFieldRenderer(); @Inject  DocumentationLinksFieldRenderer(final DocumentationLinksWidget widget); @Override void init(final FormRenderingContext renderingContext,
                     final DocumentationLinksFieldDefinition field); @Override String getName();  }### Answer:
@Test public void testInit() { when(renderingContext.getModel()).thenReturn(model); doNothing().when(renderer).superInit(renderingContext, field); renderer.init(renderingContext, field); verify(widget).setDMNModel(model); verify(renderer).superInit(renderingContext, field); }