### Question:
CustomUserInfoEngineClient { public CustomUserInfoValue setCustomUserInfoValue(long definitionId, long userId, String value) { try { return identity.setCustomUserInfoValue(definitionId, userId, value); } catch (UpdateException e) { throw new APIItemNotFoundException(org.bonitasoft.web.rest.model.identity.CustomUserInfoDefinition.TOKEN, APIID.makeAPIID(definitionId, userId)); } } CustomUserInfoEngineClient(IdentityAPI identity); CustomUserInfoDefinition createDefinition(CustomUserInfoDefinitionCreator creator); void deleteDefinition(long id); List<CustomUserInfoDefinition> listDefinitions(int startIndex, int maxResult); long countDefinitions(); List<CustomUserInfo> listCustomInformation(long userId, int startIndex, int maxResult); SearchResult<CustomUserInfoValue> searchCustomUserInfoValues(SearchOptions options); CustomUserInfoValue setCustomUserInfoValue(long definitionId, long userId, String value);  }### Answer:
@Test public void should_the_value_of_a_given_custom_user_info() throws UpdateException { CustomUserInfoValueImpl value = new CustomUserInfoValueImpl(); value.setValue("foo"); given(engine.setCustomUserInfoValue(1L, 2L, "foo")).willReturn(value); CustomUserInfoValue foo = client.setCustomUserInfoValue(1L, 2L, "foo"); assertThat(foo.getValue()).isEqualTo("foo"); }