Builder
class Builder(initialWillActionSucceed: Boolean = true, setupMocks: Boolean = true) : DeviceConnectionManager.Builder
Mock implementation of DeviceConnectionManager.Builder
Parameters
initialWillActionSucceed
Sets the initial status of whether actions will succeed for each created MockDeviceConnectionManager
setupMocks
If true
this will automatically configure the createMock to create a MockDeviceConnectionManager
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
val createMock: MethodMock<TripleParameters.Matchers<deviceWrapper: DeviceWrapper, settings: ConnectionSettings, coroutineScope: CoroutineScope>, TripleParameters.MatchersOrCaptor<deviceWrapper: DeviceWrapper, settings: ConnectionSettings, coroutineScope: CoroutineScope>, TripleParameters.Values<deviceWrapper: DeviceWrapper, settings: ConnectionSettings, coroutineScope: CoroutineScope>, TripleParameters<deviceWrapper: DeviceWrapper, settings: ConnectionSettings, coroutineScope: CoroutineScope>, BaseDeviceConnectionManager>
Functions
Link copied to clipboard
open override fun create(deviceWrapper: DeviceWrapper, settings: ConnectionSettings, coroutineScope: CoroutineScope): BaseDeviceConnectionManager