@Test
public void checkDoSaveWhenReadOnlyWithLatestPath() {

    when(versionRecordManager.isCurrentLatest()).thenReturn(true);
    checkDoSave((setup) -> {
                    when(setup.getDecisionTableGraphPlaceRequest().getParameter(eq("readOnly"),
                                                                                any())).thenReturn(Boolean.toString(true));
                    presenter.onStartup(setup.getDecisionTableGraphPath(),
                                        setup.getDecisionTableGraphPlaceRequest());
                },
                () -> verify(view,
                             times(1)).alertReadOnly());
}