BpmnServiceImpl implements BpmnService { @Override public Path copy(final Path path, final String newName, final String comment) { try { return copyService.copy(path, newName, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }  @Override Path create(final Path context,
                       final String fileName,
                       final ProcessNode content,
                       final String comment); @Override BpmnEditorContent loadContent(final Path path); @Override ProcessNode load(final Path path); @Override Path save(final Path path,
                     final ProcessNode content,
                     final Metadata metadata,
                     final String comment); @Override void delete(final Path path,
                       final String comment); @Override Path rename(final Path path,
                       final String newName,
                       final String comment); @Override Path copy(final Path path,
                     final String newName,
                     final String comment); @Override Path copy(final Path path,
                     final String newName,
                     final Path targetDirectory,
                     final String comment); @PostConstruct void setup(); @Override List<Path> listFiles(); @Override Path saveAndRename(final Path path,
                              final String newFileName,
                              final Metadata metadata,
                              final ProcessNode content,
                              final String comment);  }
@Test(expected = UnsupportedOperationException.class) public void bpmnResourceCopyTest() { Path path = mock(Path.class); String newName = "newName"; Path targetDirectory = mock(Path.class); String comment = "comment"; bpmnService.copy(path, newName, targetDirectory, comment); }