### Question:
UserAttributesConverter implements ToServerConverter<ClientAttribute, ProfileAttribute, ToServerConversionOptions>,
        ToClientConverter<ProfileAttribute, ClientAttribute, ToClientConversionOptions> { @Override public ProfileAttribute toServer(ClientAttribute clientObject, ToServerConversionOptions options) throws IllegalParameterValueException, MandatoryParameterNotFoundException { return toServer(clientObject, new ProfileAttributeImpl(), null); }  @Override ClientAttribute toClient(ProfileAttribute serverObject, ToClientConversionOptions options); @Override ProfileAttribute toServer(ClientAttribute clientObject, ToServerConversionOptions options); @Override ProfileAttribute toServer(ClientAttribute clientObject, ProfileAttribute resultToUpdate, ToServerConversionOptions options); void setProfileAttributeService(ProfileAttributeService profileAttributeService); void setAttributesPermissionService(PermissionsService attributesPermissionService); void setRecipientIdentityResolver(RecipientIdentityResolver recipientIdentityResolver); void setAttributePathTransformer(AttributePathTransformer attributePathTransformer); void setAttributesConfig(AttributesConfig attributesConfig); @Override String getServerResourceType(); @Override String getClientResourceType();  }### Answer:
@Test public void testToServer() throws Exception { ProfileAttribute converted = converter.toServer(client, null); assertEquals(converted.getAttrName(), client.getName()); assertEquals(converted.getAttrValue(), client.getValue()); assertTrue(converted.getUri().startsWith(holderUri)); }
@Test public void testToServer_update() throws Exception { ProfileAttribute converted = converter.toServer(client, server, null); assertEquals(converted.getAttrName(), client.getName()); assertEquals(converted.getAttrValue(), client.getValue()); assertTrue(converted.getUri().startsWith(holderUri)); }