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
- final def failure[E](failure: E): Fail[Any, E]
Returns a return expectation to fail with
E. - final def failureF[I, E](f: (I) => E): Fail[I, E]
Maps the input arguments
Ito a return expectation to fail withE. - final def failureM[I, E](f: (I) => IO[E, Nothing]): Fail[I, E]
Effectfully maps the input arguments
Ito a return expectation to fail 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
- final def never: Succeed[Any, Nothing]
Returns a return expectation to compute forever.
- final def nothing[M]: Expectation[M, Nothing, Nothing]
Returns an expectation for no calls on module
M. - 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 final def toManagedEnv[M, E, A](expectation: Expectation[M, E, A])(implicit mockable: Mockable[M]): Managed[Nothing, M]
Implicitly converts Expectation to ZManaged mock environment.
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def unit: Succeed[Any, Unit]
Returns a return expectation to succeed with
Unit. - final def value[A](value: A): Succeed[Any, A]
Returns a return expectation to succeed with
A. - final def valueF[I, A](f: (I) => A): Succeed[I, A]
Maps the input arguments
Ito a return expectation to succeed withA. - final def valueM[I, A](f: (I) => IO[Nothing, A]): Succeed[I, A]
Effectfully maps the input arguments
Ito a return expectation to succeed 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()