@Test public void getPasteUrlReturnsTheUrlFromTheResponse() throws URISyntaxException { SubmissionResponse response = new SubmissionResponse(new URI("submission"), new URI("paste")); when(uploader.getResponse()).thenReturn(response); assertEquals("paste", task.getPasteUrl()); }
public String getPasteUrl() { return uploader.getResponse().pasteUrl.toString(); }
PastebinTask extends BackgroundTask { public String getPasteUrl() { return uploader.getResponse().pasteUrl.toString(); } }
PastebinTask extends BackgroundTask { public String getPasteUrl() { return uploader.getResponse().pasteUrl.toString(); } PastebinTask(ProjectUploader uploader, String path, String pasteMessage, ProjectDAO projectDAO,
            IdeUIInvoker invoker); }
PastebinTask extends BackgroundTask { public String getPasteUrl() { return uploader.getResponse().pasteUrl.toString(); } PastebinTask(ProjectUploader uploader, String path, String pasteMessage, ProjectDAO projectDAO,
            IdeUIInvoker invoker); @Override int start(TaskStatusMonitor progress); String getPasteUrl(); }
PastebinTask extends BackgroundTask { public String getPasteUrl() { return uploader.getResponse().pasteUrl.toString(); } PastebinTask(ProjectUploader uploader, String path, String pasteMessage, ProjectDAO projectDAO,
            IdeUIInvoker invoker); @Override int start(TaskStatusMonitor progress); String getPasteUrl();  }