@Test public void testHttpNotification() { HttpNotification notification = new HttpNotification("http: notification.run(); Assert.assertEquals(notification.getResponseCode(), "200"); Assert.assertEquals(notification.getResponseBody(), ""); }
public HttpNotification(String url) { this.url = url; }
HttpNotification implements Runnable { public HttpNotification(String url) { this.url = url; } }
HttpNotification implements Runnable { public HttpNotification(String url) { this.url = url; } HttpNotification(String url); }
HttpNotification implements Runnable { public HttpNotification(String url) { this.url = url; } HttpNotification(String url); @Override void run(); String getResponseCode(); String getResponseBody(); }
HttpNotification implements Runnable { public HttpNotification(String url) { this.url = url; } HttpNotification(String url); @Override void run(); String getResponseCode(); String getResponseBody();  }