MockDeviceConnectionManager

constructor(initialWillActionSucceed: Boolean = true, deviceWrapper: DeviceWrapper, connectionSettings: ConnectionSettings, coroutineScope: CoroutineScope, setupMocks: Boolean = true)

Parameters

initialWillActionSucceed

Sets the initial status of whether actions will succeed

deviceWrapper

The DeviceWrapper to connect to

connectionSettings

The ConnectionSettings to apply for connecting

coroutineScope

The CoroutineScope of the BaseDeviceConnectionManager

setupMocks

If true this will automatically configure the mocks to handle connecting