def METHOD_NAME(
    root_domain_client, faker: Faker, user_stash: UserStash, guest_user: User
) -> None:
    # prepare: add mock data
    user = add_mock_user(root_domain_client, user_stash, guest_user)
    result = user_stash.get_by_email(
        root_domain_client.credentials.verify_key, email=user.email
    )
    assert result.is_ok()
    searched_user = result.ok()
    assert user == searched_user
    random_email = faker.email()
    result = user_stash.get_by_email(
        root_domain_client.credentials.verify_key, email=random_email
    )
    searched_user = result.ok()
    assert result.is_ok()
    assert searched_user is None