VanityUrl implements Serializable { public VanityUrl() { super(); } VanityUrl();  VanityUrl(String url, String site, String language);  VanityUrl(String url, String site, String language, boolean defaultMapping, boolean active); String getUrl(); void setUrl(String url); String getLanguage(); void setLanguage(String language); boolean isDefaultMapping(); void setDefaultMapping(boolean defaultMapping); boolean isActive(); void setActive(boolean active); String getIdentifier(); void setIdentifier(String identifier); String getPath(); void setPath(String path); String getSite(); void setSite(String site); boolean isFile(); void setFile(boolean file); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testVanityUrl() throws HttpException { assertEquals("Expected URL value for input '" + input + "' should be '" + expectedResult + "'", expectedResult, new VanityUrl(input, null, null).getUrl()); }