object Expectation
- Alphabetic
- By Inheritance
- Expectation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failure[E](failure: E): Fail[Any, E]
Expectation result failing with
E
. - def failureF[I, E](f: (I) => E): Fail[I, E]
Maps the input arguments
I
to expectation result failing withE
. - def failureM[I, E](f: (I) => IO[E, Nothing]): Fail[I, E]
Effectfully maps the input arguments
I
to expectation result failing withE
. - def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def never: Succeed[Any, Nothing]
Expectation result computing forever.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def toLayer[R <: Has[_]](trunk: Expectation[R])(implicit arg0: zio.Tag[R]): ULayer[R]
Implicitly converts Expectation to ZLayer mock environment.
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unit: Succeed[Any, Unit]
Expectation result succeeding with
Unit
. - def value[A](value: A): Succeed[Any, A]
Expectation result succeeding with
A
. - def valueF[I, A](f: (I) => A): Succeed[I, A]
Maps the input arguments
I
to expectation result succeeding withA
. - def valueM[I, A](f: (I) => IO[Nothing, A]): Succeed[I, A]
Effectfully maps the input arguments
I
expectation result succeeding withA
. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()