MockNetworkStateRepoBuilder
class MockNetworkStateRepoBuilder<NMB : NetworkManager.Builder>(val networkManagerBuilder: NMB, setupMocks: Boolean = true) : BaseNetworkStateRepoBuilder
Mock implementation of BaseNetworkStateRepoBuilder
Parameters
networkManagerBuilder
The NetworkManager.Builder for building the network manager
setupMocks
If true
sets up createMock to automatically create a NetworkStateRepo
Properties
Link copied to clipboard
List of built NetworkStateRepo
Link copied to clipboard
val createMock: MethodMock<SingleParameters.Matchers<coroutineContext: CoroutineContext>, SingleParameters.MatchersOrCaptor<coroutineContext: CoroutineContext>, SingleParameters.Values<coroutineContext: CoroutineContext>, SingleParameters<coroutineContext: CoroutineContext>, NetworkStateRepo>
Link copied to clipboard