MockClock

zio.mock.MockClock
object MockClock extends Mock[Clock]

Attributes

Graph
Supertypes
class Mock[Clock]
class Object
trait Matchable
class Any
Self type
MockClock.type

Members list

Type members

Classlikes

object CurrentDateTime extends Effect[Unit, Nothing, OffsetDateTime]

Attributes

Supertypes
class Effect[Unit, Nothing, OffsetDateTime]
class Object
trait Matchable
class Any
Self type
object CurrentTime

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Instant extends Effect[Unit, Nothing, Instant]

Attributes

Supertypes
class Effect[Unit, Nothing, Instant]
class Object
trait Matchable
class Any
Self type
Instant.type
object JavaClock extends Effect[Unit, Nothing, Clock]

Attributes

Supertypes
class Effect[Unit, Nothing, Clock]
class Object
trait Matchable
class Any
Self type
JavaClock.type
object LocalDateTime extends Effect[Unit, Nothing, LocalDateTime]

Attributes

Supertypes
class Effect[Unit, Nothing, LocalDateTime]
class Object
trait Matchable
class Any
Self type
object NanoTime extends Effect[Unit, Nothing, Long]

Attributes

Supertypes
class Effect[Unit, Nothing, Long]
class Object
trait Matchable
class Any
Self type
NanoTime.type
object Scheduler extends Effect[Unit, Nothing, Scheduler]

Attributes

Supertypes
class Effect[Unit, Nothing, Scheduler]
class Object
trait Matchable
class Any
Self type
Scheduler.type
object Sleep extends Effect[Duration, Nothing, Unit]

Attributes

Supertypes
class Effect[Duration, Nothing, Unit]
class Object
trait Matchable
class Any
Self type
Sleep.type

Inherited classlikes

abstract class Effect[I, E, A]

Attributes

Inherited from:
Mock
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

Inherited from:
Mock
Supertypes
class Object
trait Matchable
class Any
object Poly

Attributes

Inherited from:
Mock
Supertypes
class Object
trait Matchable
class Any
abstract class Sink[I, E, A, L, B]

Attributes

Inherited from:
Mock
Supertypes
class Object
trait Matchable
class Any
abstract class Stream[I, E, A]

Attributes

Inherited from:
Mock
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

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

Attributes

Inherited from:
Mock

Concrete fields