def METHOD_NAME(session, monkeypatch):
    """Assert that a User can be stored in the service.
    Start with a blank database.
    """
    user = User(username='CP1234567',
                keycloak_guid='1b20db59-19a0-4727-affe-c6f64309fd04')
    session.add(user)
    session.commit()
    token = {
        'preferred_username': 'CP1234567',
        'sub': '1b20db59-19a0-4727-affe-c6f64309fd04',
        'realm_access': {
            'roles': [
                'edit',
                'uma_authorization',
                'basic'
            ]
        }
    }
    patch_token_info(token, monkeypatch)
    u = User.find_by_jwt_token()
    assert u.id is not None