WebloungeUserImpl extends UserImpl implements WebloungeUser { public Object removeProperty(String name) { return properties.remove(name); } WebloungeUserImpl(String login, String realm);  WebloungeUserImpl(String login); boolean isEnabled(); boolean canLogin(); void setEnabled(boolean enabled); void setFirstName(String firstname); String getFirstName(); void setLastName(String lastname); String getLastName(); String getName(); void setEmail(String email); String getEmail(); void setLanguage(Language language); Language getLanguage(); String getInitials(); void setInitials(String initials); void setLastLogin(Date date, String src); Date getLastLogin(); String getLastLoginFrom(); @Override String getChallenge(); @Override void setChallenge(String challenge); @Override byte[] getResponse(); @Override void setResponse(byte[] response, DigestType digest); Object getProperty(String name); Object removeProperty(String name); void setProperty(String name, Object value); static WebloungeUserImpl fromXml(Node userNode, Site site); static WebloungeUserImpl fromXml(Node userNode, Site site, XPath xpath); String toXml(); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void testRemoveProperty() { assertTrue(user.removeProperty("test") == null); assertEquals(propertyValue, user.removeProperty(propertyName)); assertTrue(user.removeProperty(propertyName) == null); }