@Override public void delete(final Path path, final String comment) { deleteService.delete(path, comment); }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete( final Path path, final String comment ) { try { deleteService.delete( path, comment ); } catch ( Exception e ) { throw ExceptionUtilities.handleException( e ); } }
@Override public void delete( final Path path, final String comment ) { try { deleteService.delete( path, comment ); } catch ( Exception e ) { throw ExceptionUtilities.handleException( e ); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete( final Path path, final String comment ) { try { deleteService.delete( path, comment ); } catch ( Exception e ) { throw ExceptionUtilities.handleException( e ); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Test public void checkDelete() { final Path path = mock(Path.class); final String comment = "comment"; service.delete(path, comment); verify(deleteService, times(1)).delete(eq(path), eq(comment)); }
@Test public void checkDelete() { final Path path = mock(Path.class); final String comment = "comment"; service.delete(path, comment); verify(deleteService, times(1)).delete(eq(path), eq(comment)); }
@Test public void testDelete() throws Exception { htmlEditorService.delete(path, comment); verify(deleteService).delete(path, comment); }
@Test public void testDeleteFormWrongProject() { when(moduleService.resolveModule(any())).thenReturn(null); formEditorService.delete(path, COMMIT_MESSAGE); verify(moduleService).resolveModule(path); verify(deleteService, never()).delete(path, COMMIT_MESSAGE); }
@Test public void testDelete() throws Exception { final Path scenarioPath = getEmptyScenarioPath(); testEditorService.delete(scenarioPath, COMMENT); verify(deleteService).delete(scenarioPath, COMMENT); }