### Question:
MultipleInstanceVariableEditorPresenter extends FieldEditorPresenter<String> { @Override public void setReadOnly(boolean readOnly) { view.setReadOnly(readOnly); } @Inject  MultipleInstanceVariableEditorPresenter(final View view,
                                                   final SessionManager sessionManager); @PostConstruct void init(); @Override void setValue(String value); List<String> getSimpleDataTypes(); @Override void setReadOnly(boolean readOnly); void onVariableChange(); Path getDiagramPath(); static Map<String, String> getMapDataTypeNamesToDisplayNames();  }### Answer:
@Test public void testSetReadonlyTrue() { editor.setReadOnly(true); verify(view).setReadOnly(true); }
@Test public void testSetReadonlyFalse() { editor.setReadOnly(false); verify(view).setReadOnly(false); }