### Question:
MultipleInstanceVariableFieldRenderer extends FieldRenderer<MultipleInstanceVariableFieldDefinition, DefaultFormGroup> { @Override protected void setReadOnly(boolean readOnly) { widget.setReadOnly(readOnly); } @Inject  MultipleInstanceVariableFieldRenderer(MultipleInstanceVariableEditorWidget widget,
                                                 SessionManager sessionManager,
                                                 ClientTranslationService translationService); @Override String getName();  }### Answer:
@Test public void testSetReadonlyTrue() { renderer.setReadOnly(true); verify(widget).setReadOnly(true); }
@Test public void testSetReadonlyFalse() { renderer.setReadOnly(false); verify(widget).setReadOnly(false); }