Modifier and Type | Method and Description |
---|---|
static NetworkBehavior |
NetworkBehavior.create()
Create an instance with default behavior.
|
static NetworkBehavior |
NetworkBehavior.create(Random random)
Create an instance with default behavior which uses
random to control variance and
failure calculation. |
NetworkBehavior |
MockRetrofit.networkBehavior() |
Modifier and Type | Method and Description |
---|---|
MockRetrofit.Builder |
MockRetrofit.Builder.networkBehavior(NetworkBehavior behavior) |
Copyright © 2020 Square, Inc.. All rights reserved.