mock
fun BluetoothLeAdvertiser.Factory.mock(environment: MockEnvironment = MockEnvironment.Api31()): BluetoothLeAdvertiser
Creates an instance of a mock BluetoothLeAdvertiser for Android.
The behavior of a mock advertiser should mimic one from the same Android version.
Return
A mock instance of the BluetoothLeAdvertiser.
Parameters
environment
The mock environment to use.