async def METHOD_NAME(
    client: TestClient,
    faker: Faker,
    logged_user: UserInfoDict,
    user_role: UserRole,
    expected_response_cls: type[web.Response],
    mocked_send_email: MagicMock,
):
    assert logged_user["role"] == user_role.name
    destination_email = faker.email()
    response = await client.post(
        f"/{API_VTAG}/email:test", json={"to": destination_email}
    )
    data, error = await assert_status(response, expected_cls=expected_response_cls)
    if error:
        assert not mocked_send_email.called
    if data:
        print(mocked_send_email.mock_calls)
        assert mocked_send_email.send_message.called
        print(json.dumps(data, indent=1))
        assert data
        assert error is None
        with pytest.raises(ValidationError):
            TestFailed.parse_obj(data)
        passed = TestPassed.parse_obj(data)
        print(passed.json(indent=1))