@Test(expected = IllegalArgumentException.class) public void unmappedLinkThrowsException() { tested.getLinkableInfo("not.mapped"); }
@Override public LinkableInfo getLinkableInfo(String link) { LinkableInfo linkableInfo = linkableMapping.get(link); Validate.notNull(linkableInfo, "Invalid link: " + link); return linkableInfo; }
DefaultHateoasContext implements HateoasContext { @Override public LinkableInfo getLinkableInfo(String link) { LinkableInfo linkableInfo = linkableMapping.get(link); Validate.notNull(linkableInfo, "Invalid link: " + link); return linkableInfo; } }
DefaultHateoasContext implements HateoasContext { @Override public LinkableInfo getLinkableInfo(String link) { LinkableInfo linkableInfo = linkableMapping.get(link); Validate.notNull(linkableInfo, "Invalid link: " + link); return linkableInfo; }  }
DefaultHateoasContext implements HateoasContext { @Override public LinkableInfo getLinkableInfo(String link) { LinkableInfo linkableInfo = linkableMapping.get(link); Validate.notNull(linkableInfo, "Invalid link: " + link); return linkableInfo; }  @Override void mapClass(Class<?> clazz); @Override LinkableInfo getLinkableInfo(String link); @Override String toString(); boolean isInitialized(Class<?> clazz); }
DefaultHateoasContext implements HateoasContext { @Override public LinkableInfo getLinkableInfo(String link) { LinkableInfo linkableInfo = linkableMapping.get(link); Validate.notNull(linkableInfo, "Invalid link: " + link); return linkableInfo; }  @Override void mapClass(Class<?> clazz); @Override LinkableInfo getLinkableInfo(String link); @Override String toString(); boolean isInitialized(Class<?> clazz);  }