IviServiceMockIdentifier

sealed class IviServiceMockIdentifier<M : AnyIviServiceBase>

Identifies an IVI service mock instance.

Allows the mock to be identified by its serviceId and/or the mockClass type and in case of a IviInstanceBound also by its IviInstanceBound.iviInstanceId.

Types

Link copied to clipboard
data class Global<M : AnyIviServiceBase>(val serviceId: IviServiceId, val mockClass: KClass<M>) : IviServiceMockIdentifier<M>

Identifies a global IVI service mock instance.

Link copied to clipboard
data class IviInstanceBound<M : AnyIviServiceBase>(    val serviceId: IviServiceId,     val mockClass: KClass<M>,     val iviInstanceId: IviInstanceId) : IviServiceMockIdentifier<M>

Identifies an IVI instance bound IVI service mock instance.

Properties

Link copied to clipboard
open val mockClass: KClass<M>
Link copied to clipboard
open val serviceId: IviServiceId

Inheritors

Link copied to clipboard
Link copied to clipboard