@Test public void sendFeedback() throws IOException { FeedbackClient feedback = (feedback1, name1, email1) -> { assertEquals(feedbackText, feedback1); assertEquals(name1, name1); assertEquals(email1, email1); }; HockeyApp app = new HockeyApp(feedback, null); app.sendFeedback(feedbackText, name, email); }
@Override public void sendFeedback(String feedback, String name, String email) throws IOException { feedbackClient.sendFeedback(feedback, name, email); }
HockeyApp implements CrashReportHandler { @Override public void sendFeedback(String feedback, String name, String email) throws IOException { feedbackClient.sendFeedback(feedback, name, email); } }
HockeyApp implements CrashReportHandler { @Override public void sendFeedback(String feedback, String name, String email) throws IOException { feedbackClient.sendFeedback(feedback, name, email); } HockeyApp(FeedbackClient feedbackClient, CrashReporterClient crashClient); }
HockeyApp implements CrashReportHandler { @Override public void sendFeedback(String feedback, String name, String email) throws IOException { feedbackClient.sendFeedback(feedback, name, email); } HockeyApp(FeedbackClient feedbackClient, CrashReporterClient crashClient); @Override void sendFeedback(String feedback, String name, String email); @Override void sendStacktrace(String feedback, String stacktrace); }
HockeyApp implements CrashReportHandler { @Override public void sendFeedback(String feedback, String name, String email) throws IOException { feedbackClient.sendFeedback(feedback, name, email); } HockeyApp(FeedbackClient feedbackClient, CrashReporterClient crashClient); @Override void sendFeedback(String feedback, String name, String email); @Override void sendStacktrace(String feedback, String stacktrace);  }