def METHOD_NAME():
    """
    Test that equipments providers are created from env when conditions are met
    """
    manager = EquipmentProviderManager(
        equipment_providers_configuration=[{'key': 'SytralRT', 'class': 'Sytral.class', 'args': 'Sytral.args'}]
    )
    manager._init_class = MagicMock(return_value="Provider")
    # Provider name from instance doesn't match config provider
    # No provider added in providers list
    manager.init_providers(['divia'])
    assert not manager._equipment_providers
    assert not manager._equipment_providers_legacy
    # Provider name from instance matches config provider
    # Sytral provider added in providers list
    manager.init_providers(['SytralRT'])
    assert not manager._equipment_providers
    assert len(manager._equipment_providers_legacy) == 1
    assert list(manager._equipment_providers_legacy)[0] == 'SytralRT'
    assert manager._get_providers() == {'SytralRT': 'Provider'}
    # Provider already created
    # No new provider added in providers list
    manager.init_providers(['SytralRT'])
    assert not manager._equipment_providers
    assert len(manager._equipment_providers_legacy) == 1