### Question:
ProjectUploader { public void handleSubmissionResponse() throws IOException { if (project == null || data == null) { throw new RuntimeException("Internal error: Invalid project or zip data"); } if (!extraParams.isEmpty()) { response = server.uploadFile(project.getExercise(), data, extraParams); } else { response = server.uploadFile(project.getExercise(), data); } } ProjectUploader(ServerManager server); void setProject(Project project); void zipProjects(); void handleSubmissionResponse(); void handleSubmissionResult(StopStatus stopStatus); SubmissionResponse getResponse(); SubmissionResult getResult(); Project getProject(); void setAsPaste(String pasteMessage); void setAsRequest(String requestMessage);  }### Answer:
@Test(expected = RuntimeException.class) public void handleSumissionResponseThrowsIfProjectIsNull() throws IOException { uploader.handleSubmissionResponse(); }