async def METHOD_NAME(
    network_manager: NetworkManager, device_eth0_service: DeviceService
):
    """Test old connection disconnects on connection change."""
    interface = network_manager.get(TEST_INTERFACE)
    connection = interface.connection
    assert connection.is_connected is True
    device_eth0_service.emit_properties_changed({"ActiveConnection": "/"})
    await device_eth0_service.ping()
    assert interface.connection is None
    assert connection.is_connected is False