### Question:
LinkFormat implements Serializable { public void setHRefLang(String hreflangValue) { this.set(LINK_HREFLANG, new PToken(hreflangValue)); } LinkFormat();  LinkFormat(String uri); void set(String parameterName, String parameterValue); void set(String parameterName, PToken parameterValue); void set(String parameterName, Integer parameterValue); void set(String parameterName, Boolean parameterValue); void set(String parameterName, String... parameterValue); void setResourceType(String... resourceTypes); void setMaximumSize(Integer val); Integer getMaximumSize(); void setContentType(Short val); void setInterfaceDescription(String... ifArr); void setObservable(Boolean val); void setOAutobservable(Boolean val); Boolean getObservable(); void setResourceInstance(String val); void setExport(Boolean val); void setRelations(String... relations); String[] getRelations(); void setAnchor(String anchor); String getAnchor(); void setRev(String... revArr); String[] getRev(); void setHRefLang(String hreflangValue); String getHRefLang(); void setMedia(String media); String getMedia(); void setTitle(String title); String getTitle(); void setType(String type); String getType(); @Override String toString(); String getParam(String name); String[] getParamRelationTypes(String paramName); String getUri(); boolean isObservable(); String[] getInterfaceDescriptionArray(); String getInterfaceDescription(); String[] getResourceTypeArray(); String getResourceType(); Short getContentType(); Integer getMaxSize(); String getResourceInstance(); String getExport(); void setUri(String uri); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testFailHReflang1() { new LinkFormat("/test").setHRefLang(" LANG-PL"); }
@Test(expected = IllegalArgumentException.class) public void testFailHReflang2() { new LinkFormat("/test").setHRefLang("LANG-PL" + (char) 128); }
@Test(expected = IllegalArgumentException.class) public void testFailHReflang3() { new LinkFormat("/test").setHRefLang("LAN,G;P\\L"); }