SiteLinkImpl implements SiteLink { @JsonIgnore @Override public List<ItemIdValue> getBadges() { return this.badges; } SiteLinkImpl(
			String title,
			String site,
			List<ItemIdValue> badges); @JsonCreator  SiteLinkImpl(
			@JsonProperty("title") String title,
			@JsonProperty("site") String site,
			@JsonProperty("badges") List<String> badges,
			@JacksonInject("siteIri") String siteIri
	); @JsonProperty("title") @Override String getPageTitle(); @JsonProperty("site") @Override String getSiteKey(); @JsonIgnore @Override List<ItemIdValue> getBadges(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void badgesCanBeNull() { SiteLink sitelink = new SiteLinkImpl("Dresden", "enwiki", null); assertEquals(sitelink.getBadges(), Collections.emptyList()); }