@Test
public void saveAndRename() throws Exception {

    final Metadata metadata = mock(Metadata.class);
    final ScenarioSimulationModel model = new ScenarioSimulationModel();
    service.saveAndRename(path,
                          "newName.scesim",
                          metadata,
                          model,
                          "comment");
    verify(saveAndRenameServiceMock).saveAndRename(path,
                                                   "newName.scesim",
                                                   metadata,
                                                   model,
                                                   "comment");
}