MockBluetoothServerBuilder
A mock implementation of BaseBluetoothServerBuilder that creates MockBluetoothServers.
Parameters
setupMocks
if true the mocks are configured with sensible default behaviour
Properties
Link copied to clipboard
A list of all MockBluetoothServers created by this builder
Link copied to clipboard
val createServerMock: SuspendTripleParametersMock<settingsBuilder: (Permissions) -> ServerSettings, coroutineContext: CoroutineContext, specs: BluetoothServerDSL.() -> Unit, BluetoothServer>
Mock for createServer
Functions
Link copied to clipboard
open suspend override fun createServer(settingsBuilder: (Permissions) -> ServerSettings, coroutineContext: CoroutineContext, specs: BluetoothServerDSL.() -> Unit): BluetoothServer