simulateConnection

Simulates the situation when another application on the device connects to the device.

If the device has advertisement configuration with MockAdvertisementConfig.isAdvertisingWhenConnected flag set to false, the given advertisement will stop.

A manager registered for connection event will receive an event.