object Expectation
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Expectation
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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)(implicit trace: Trace): Fail[Any, E]
Expectation result failing with
E. - def failureF[I, E](f: (I) => E)(implicit trace: Trace): Fail[I, E]
Maps the input arguments
Ito expectation result failing withE. - def failureZIO[I, E](f: (I) => IO[E, Nothing])(implicit trace: Trace): Fail[I, E]
Effectfully maps the input arguments
Ito 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(implicit trace: Trace): 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](trunk: Expectation[R])(implicit arg0: zio.EnvironmentTag[R], trace: Trace): ULayer[R]
Implicitly converts Expectation to ZLayer mock environment.
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unit(implicit trace: Trace): Succeed[Any, Unit]
Expectation result succeeding with
Unit. - def value[A](value: A)(implicit trace: Trace): Succeed[Any, A]
Expectation result succeeding with
A. - def valueF[I, A](f: (I) => A)(implicit trace: Trace): Succeed[I, A]
Maps the input arguments
Ito expectation result succeeding withA. - def valueZIO[I, A](f: (I) => IO[Nothing, A]): Succeed[I, A]
Effectfully maps the input arguments
Iexpectation 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()