### Question:
RolesEditorFieldRenderer extends FieldRenderer<RolesEditorFieldDefinition, DefaultFormGroup> implements RolesEditorWidgetView.Presenter { @Override protected void setReadOnly(boolean readOnly) { view.setReadOnly(readOnly); } @Inject  RolesEditorFieldRenderer(RolesEditorWidgetView editor,
                                    CaseRoleSerializer serializer); @Override String getName(); @Override List<KeyValueRow> deserialize(String value); @Override String serialize(List<KeyValueRow> rows);  }### Answer:
@Test public void setReadOnly() { tested.setReadOnly(true); verify(view).setReadOnly(true); }