@Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); }
@Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); }
@Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); } }
@Override public Path rename(final Path path, final String newName, final String comment) { try { return renameService.rename(path, newName, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public Path rename(final Path path, final String newName, final String comment) { try { return renameService.rename(path, newName, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public Path rename(final Path path, final String newName, final String comment) { try { return renameService.rename(path, newName, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public Path rename( final Path path, final String newName, final String comment ) { try { return renameService.rename( path, newName, comment ); } catch ( Exception e ) { throw ExceptionUtilities.handleException( e ); } }
@Override public Path rename(final Path path, final String newName, final String comment) { try { return renameService.rename(path, newName, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public Path rename(final Path path, final String newName, final String comment) { try { return renameService.rename(path, newName, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public Path rename( final Path path, final String newName, final String comment ) { try { return renameService.rename( path, newName, comment ); } catch ( Exception e ) { throw ExceptionUtilities.handleException( e ); } }
@Override public Path rename( final Path path, final String newName, final String comment ) { try { return renameService.rename( path, newName, comment ); } catch ( Exception e ) { throw ExceptionUtilities.handleException( e ); } }
@Override public Path rename(final Path path, final String newName, final String comment) { try { return renameService.rename(path, newName, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public Path rename(final Path path, final String newName, final String comment) { try { return renameService.rename(path, newName, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public Path rename(final Path path, final String newName, final String comment) { try { return renameService.rename(path, newName, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public Path rename(final Path path, final String newName, final String comment) { try { return renameService.rename(path, newName, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Test public void testRename() throws Exception { final Path expectedPath = mock(Path.class); doReturn(expectedPath).when(renameService).rename(path, newFileName, comment); final Path actualPath = htmlEditorService.rename(path, newFileName, comment); verify(renameService).rename(path, newFileName, comment); assertEquals(expectedPath, actualPath); }
@Test public void rename() throws Exception { final Path path = mock(Path.class); final String newName = "newName"; final String comment = "comment"; service.rename(path, newName, comment); verify(renameService).rename(path, newName, comment); }
@Test public void testRename() { final Path path = mock(Path.class); final String newFileName = "newFileName"; final String comment = "comment"; service.rename(path, newFileName, comment); verify(renameService).rename(path, newFileName, comment); }
@Test public void testRename() throws Exception { final Path scenarioPath = getEmptyScenarioPath(); final String newFileName = NEW_FILE_NAME; testEditorService.rename(scenarioPath, newFileName, COMMENT); verify(renameService).rename(scenarioPath, newFileName, COMMENT); }
@Test public void testRename() throws Exception { final Path scenarioPath = getEmptyScenarioPath(); final String newFileName = NEW_FILE_NAME; testEditorService.rename(scenarioPath, newFileName, COMMENT); verify(renameService).rename(scenarioPath, newFileName, COMMENT); }