async def METHOD_NAME(
    mock_user_fs,  # noqa: F811 # intentional for mocks
    azure_ad_organization: MockAzureADOrganization,  # noqa: F811 # intentional for mocks
    mock_user: UserTemplate,  # noqa: F811 # intentional for mocks
):
    azure_ad_config = AzureADConfig(organizations=[azure_ad_organization])
    await mock_user.apply(azure_ad_config)
    assert bool(
        azure_ad_organization.request_data["users"].get(mock_user.properties.user_id)
    )
    # Now update it
    mock_user.properties.display_name = "New Display Name"
    mock_user.write()
    template_change_details = await mock_user.apply(azure_ad_config)
    assert (
        template_change_details.proposed_changes[0].proposed_changes[0].change_type
        == ProposedChangeType.UPDATE
    )
    user_data = azure_ad_organization.request_data["users"].get(
        mock_user.properties.user_id
    )
    assert user_data["displayName"] == mock_user.properties.display_name