@Test @Ignore public void formatLandingPage() { String rawUrl = "https: String expectedUrl = "publisher.com"; test = new Advertiser(rawUrl); assertEquals("url is not properly formatted by advertiser object", expectedUrl, test.getLandingPage()); }
@JsonProperty("landingPageTLD") public String getLandingPage() { return landingPage; }
Advertiser { @JsonProperty("landingPageTLD") public String getLandingPage() { return landingPage; } }
Advertiser { @JsonProperty("landingPageTLD") public String getLandingPage() { return landingPage; } Advertiser();  Advertiser(String landingPage);  Advertiser(String landingPage, String name);  Advertiser(String landingPage, String name, Long timestamp);  Advertiser(String landingPage, String name, Long timestamp, List<Blocklist> blocklist); }
Advertiser { @JsonProperty("landingPageTLD") public String getLandingPage() { return landingPage; } Advertiser();  Advertiser(String landingPage);  Advertiser(String landingPage, String name);  Advertiser(String landingPage, String name, Long timestamp);  Advertiser(String landingPage, String name, Long timestamp, List<Blocklist> blocklist); @JsonProperty("landingPageTLD") String getLandingPage(); void setLandingPage(String landingPage); String getName(); void setName(String name); @JsonProperty("sinceThisTimestamp") Long getTimestamp(); void setTimestamp(Long newTime); List<Blocklist> getBlocklist(); void setBlocklist(List<Blocklist> blocklist); void addBlocklist(Blocklist blocklist); }
Advertiser { @JsonProperty("landingPageTLD") public String getLandingPage() { return landingPage; } Advertiser();  Advertiser(String landingPage);  Advertiser(String landingPage, String name);  Advertiser(String landingPage, String name, Long timestamp);  Advertiser(String landingPage, String name, Long timestamp, List<Blocklist> blocklist); @JsonProperty("landingPageTLD") String getLandingPage(); void setLandingPage(String landingPage); String getName(); void setName(String name); @JsonProperty("sinceThisTimestamp") Long getTimestamp(); void setTimestamp(Long newTime); List<Blocklist> getBlocklist(); void setBlocklist(List<Blocklist> blocklist); void addBlocklist(Blocklist blocklist);  }