### Question:
Affordance extends Link { @Override public Affordance expand(Object... arguments) { UriTemplate template = new UriTemplate(partialUriTemplate.asComponents() .toString()); String expanded = template.expand(arguments) .toASCIIString(); return new Affordance(expanded, linkParams, actionDescriptors); } Affordance(String uriTemplate, String... rels);  Affordance(String uriTemplate);  Affordance(PartialUriTemplate uriTemplate, List<ActionDescriptor> actionDescriptors, String... rels); private  Affordance(String uriTemplate, MultiValueMap<String, String> linkParams,
                       List<ActionDescriptor> actionDescriptors); void addRel(String rel); void setType(String mediaType); void addHreflang(String hreflang); void setTitle(String title); @JsonIgnore boolean isBaseUriTemplated(); String getTitle(); @JsonUnwrapped DynaBean getLinkExtensions(); String getType(); void setTitleStar(String titleStar); void setMedia(String mediaDesc); void addRev(String rev); void setAnchor(String anchor); void addLinkParam(String paramName, String... values); @JsonIgnore String getHeaderName(); String asHeader(); @Override List<TemplateVariable> getVariables(); @Override String toString(); @Override Affordance withRel(String rel); @Override Affordance withSelfRel(); @Override Affordance expand(Object... arguments); @Override String getHref(); @JsonIgnore PartialUriTemplateComponents getUriTemplateComponents(); @Override Affordance expand(Map<String, ? extends Object> arguments); Affordance expandPartially(Object... arguments); Affordance expandPartially(Map<String, ? extends Object> arguments); @JsonIgnore List<String> getRels(); @Override String getRel(); @JsonIgnore List<String> getRevs(); @JsonIgnore String getRev(); void setActionDescriptors(List<ActionDescriptor> actionDescriptors); @JsonIgnore List<ActionDescriptor> getActionDescriptors(); @JsonIgnore Cardinality getCardinality(); @JsonIgnore boolean isSelfRel(); @JsonIgnore boolean hasUnsatisfiedRequiredVariables(); @JsonIgnore TypedResource getCollectionHolder(); void setCollectionHolder(TypedResource collectionHolder);  }### Answer:
@Test public void testExpand() { final Affordance affordance = new Affordance("http: assertEquals("http: .getHref()); }