def METHOD_NAME(users_info_schema):
    '''
    Test the users info schema
    users info schema doesn't have input payload, to test response we are providing dummy input.
    '''
    test_resp = {
        'id': 1,
        'surname': 'surname',
        'name': 'some name',
        'email': 'test@domain.com',
        'lockedOut': True,
        'department': 'some department',
        'biography': 'some biography',
        'active': True,
        'picture': [1, 2],
        'roles': [{
            'id': 1,
            'name': 'role name',
            'description': 'role description',
            'permissions': [{
                'entityName': 'entity_name',
                'action': 'action',
                'entityIds': [1, 2],
                'dynamicId': 'some dynamic id'
            }]
        }],
        'identifier': 'some identifier',
        'provider': 'tenable',
        'eulaVersion': 1,
        'internal': True
    }
    schema = UserInfoSchema()
    req = schema.dump(schema.load(users_info_schema))
    assert req['surname'] == test_resp['surname']
    assert req['name'] == test_resp['name']
    assert req['email'] == test_resp['email']
    assert req['lockedOut'] == test_resp['lockedOut']
    assert req['department'] == test_resp['department']
    assert req['biography'] == test_resp['biography']
    assert req['active'] == test_resp['active']
    assert req['picture'] == test_resp['picture']
    assert req['identifier'] == test_resp['identifier']
    assert req['provider'] == test_resp['provider']
    assert req['eulaVersion'] == test_resp['eulaVersion']
    assert req['internal'] == test_resp['internal']
    assert req['roles'][0]['name'] == test_resp['roles'][0]['name']
    assert req['roles'][0]['description'] == test_resp['roles'][0]['description']
    assert req['roles'][0]['permissions'][0]['entityName'] == test_resp['roles'][0]['permissions'][0]['entityName']
    assert req['roles'][0]['permissions'][0]['action'] == test_resp['roles'][0]['permissions'][0]['action']
    assert req['roles'][0]['permissions'][0]['entityIds'] == test_resp['roles'][0]['permissions'][0]['entityIds']
    assert req['roles'][0]['permissions'][0]['dynamicId'] == test_resp['roles'][0]['permissions'][0]['dynamicId']
    with pytest.raises(ValidationError):
        users_info_schema['some_val'] = 'something'
        schema.load(users_info_schema)