def init(cls, typ, class2type):
        """
        Defines custom fields in the value factory so that the importer can find them
        @param typ
        @param class2type
        """
        field = typ.getField(cls.FIELD_NAME)
        class2type.put( StrStrHashMap , typ )
        typ.setComponentType( StrStrHashMap )
        typ.setImportExportHelper( StrStrHashMapSerializer(typ, field))
        typ.putValidator(field, Validator_object.get(1))
        typ.lock()
def step_impl(context, user_names_str):
    if not hasattr(context, 'users'):
        context.users = {}

    user_names = [name.strip() for name in re.split('and|,', user_names_str)]
    for user_name in user_names:
        token = 'fake_token_' + user_name
        user_id = context.helpers.create_test_user(user_name, token)
        context.users[user_name] = {'token': token, 'id': user_id}