async def METHOD_NAME(
    network_manager: NetworkManager, device_wlan0_service: DeviceService
):
    """Test old wireless disconnects on type change."""
    interface = network_manager.get(TEST_INTERFACE_WLAN)
    wireless = interface.wireless
    assert wireless.is_connected is True
    device_wlan0_service.emit_properties_changed({"DeviceType": DeviceType.ETHERNET})
    await device_wlan0_service.ping()
    assert interface.wireless is None
    assert wireless.is_connected is False