MockRandom

zio.mock.MockRandom
object MockRandom extends Mock[Random]

Attributes

Graph
Supertypes
class Mock[Random]
class Object
trait Matchable
class Any
Self type
MockRandom.type

Members list

Type members

Classlikes

object NextBoolean extends Effect[Unit, Nothing, Boolean]

Attributes

Supertypes
class Effect[Unit, Nothing, Boolean]
class Object
trait Matchable
class Any
Self type
object NextBytes extends Effect[Int, Nothing, Chunk[Byte]]

Attributes

Supertypes
class Effect[Int, Nothing, Chunk[Byte]]
class Object
trait Matchable
class Any
Self type
NextBytes.type
object NextDouble extends Effect[Unit, Nothing, Double]

Attributes

Supertypes
class Effect[Unit, Nothing, Double]
class Object
trait Matchable
class Any
Self type
NextDouble.type
object NextDoubleBetween extends Effect[(Double, Double), Nothing, Double]

Attributes

Supertypes
class Effect[(Double, Double), Nothing, Double]
class Object
trait Matchable
class Any
Self type
object NextFloat extends Effect[Unit, Nothing, Float]

Attributes

Supertypes
class Effect[Unit, Nothing, Float]
class Object
trait Matchable
class Any
Self type
NextFloat.type
object NextFloatBetween extends Effect[(Float, Float), Nothing, Float]

Attributes

Supertypes
class Effect[(Float, Float), Nothing, Float]
class Object
trait Matchable
class Any
Self type
object NextGaussian extends Effect[Unit, Nothing, Double]

Attributes

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

Attributes

Supertypes
class Effect[Unit, Nothing, Int]
class Object
trait Matchable
class Any
Self type
NextInt.type
object NextIntBetween extends Effect[(Int, Int), Nothing, Int]

Attributes

Supertypes
class Effect[(Int, Int), Nothing, Int]
class Object
trait Matchable
class Any
Self type
object NextIntBounded extends Effect[Int, Nothing, Int]

Attributes

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

Attributes

Supertypes
class Effect[Unit, Nothing, Long]
class Object
trait Matchable
class Any
Self type
NextLong.type
object NextLongBetween extends Effect[(Long, Long), Nothing, Long]

Attributes

Supertypes
class Effect[(Long, Long), Nothing, Long]
class Object
trait Matchable
class Any
Self type
object NextLongBounded extends Effect[Long, Nothing, Long]

Attributes

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

Attributes

Supertypes
class Effect[Unit, Nothing, Char]
class Object
trait Matchable
class Any
Self type
object NextString extends Effect[Int, Nothing, String]

Attributes

Supertypes
class Effect[Int, Nothing, String]
class Object
trait Matchable
class Any
Self type
NextString.type
object NextUUID extends Effect[Unit, Nothing, UUID]

Attributes

Supertypes
class Effect[Unit, Nothing, UUID]
class Object
trait Matchable
class Any
Self type
NextUUID.type
object SetSeed extends Effect[Long, Nothing, Unit]

Attributes

Supertypes
class Effect[Long, Nothing, Unit]
class Object
trait Matchable
class Any
Self type
SetSeed.type
object Shuffle extends Effect[Iterable[Any], Nothing, Iterable[Any]]

Attributes

Supertypes
class Effect[Iterable[Any], Nothing, Iterable[Any]]
class Object
trait Matchable
class Any
Self type
Shuffle.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