Mock

zio.mock.Mock
See theMock companion object
abstract class Mock[R]

A Mock[R] represents a mockable environment R.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MockClock.type
object MockConsole.type
object MockRandom.type
object MockSystem.type
Self type
Mock[R]

Members list

Type members

Classlikes

abstract class Effect[I, E, A]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object CurrentDateTime.type
object _0.type
object _1.type
object Instant.type
object JavaClock.type
object LocalDateTime.type
object NanoTime.type
object Scheduler.type
object Sleep.type
object Print.type
object PrintError.type
object PrintLine.type
object PrintLineError.type
object ReadLine.type
object NextBoolean.type
object NextBytes.type
object NextDouble.type
object NextDoubleBetween.type
object NextFloat.type
object NextFloatBetween.type
object NextGaussian.type
object NextInt.type
object NextIntBetween.type
object NextIntBounded.type
object NextLong.type
object NextLongBetween.type
object NextLongBounded.type
object NextPrintableChar.type
object NextString.type
object NextUUID.type
object SetSeed.type
object Shuffle.type
object Env.type
object EnvOrElse.type
object EnvOrOption.type
object Envs.type
object LineSeparator.type
object Properties.type
object Property.type
object PropertyOrElse.type
object PropertyOrOption.type
Show all
abstract class Method[I, E <: Throwable, A]

Attributes

Supertypes
class Object
trait Matchable
class Any
object Poly

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Poly.type
abstract class Sink[I, E, A, L, B]

Attributes

Supertypes
class Object
trait Matchable
class Any
abstract class Stream[I, E, A]

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def empty(implicit trace: Trace): ULayer[R]