object MockSpec
- Alphabetic
- By Inheritance
- MockSpec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.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 expect[R, E, A, B](m: Method[A, B])(a: Assertion[A])(f: (A) => B): MockSpec[R, E, A]
Creates a mock specification expecting method
mto be called with arguments satisfying assertionaand returning value produced by functionfusing input arguments. - final def expectAny[R, E, B](m: Method[Any, B])(f: (Any) => B): MockSpec[R, E, Any]
Creates a mock specification expecting method
mto be called with any arguments and returning value produced by functionfusing input arguments. - final def expectAnyM[R, E, B](m: Method[Any, B])(v: (Any) => IO[E, B]): MockSpec[R, E, Any]
Creates a mock specification expecting method
mto be called with any arguments and returning value produced by effectfusing input arguments. - final def expectAnyM_[R, E, B](m: Method[Any, B])(f: => IO[E, B]): MockSpec[R, E, Any]
Creates a mock specification expecting method
mto be called with any arguments and returning value produced by effectf. - final def expectAny_[R, E, B](m: Method[Any, B])(v: => B): MockSpec[R, E, Any]
Creates a mock specification expecting method
mto be called with any arguments and returning valuev. - final def expectIn[R, E, A](m: Method[A, Unit])(a: Assertion[A]): MockSpec[R, E, A]
Creates a mock specification expecting method
mto be called with arguments satisfying assertionaand returning unit. - final def expectM[R, E, A, B](m: Method[A, B])(a: Assertion[A])(f: (A) => IO[E, B]): MockSpec[R, E, A]
Creates a mock specification expecting method
mto be called with arguments satisfying assertionaand returning value produced by effectfusing input arguments. - final def expectM_[R, E, A, B](m: Method[A, B])(a: Assertion[A])(f: => IO[E, B]): MockSpec[R, E, A]
Creates a mock specification expecting method
mto be called with arguments satisfying assertionaand returning value produced by effectf. - final def expectOut[R, E, B](m: Method[Unit, B])(v: => B): MockSpec[R, E, Unit]
Creates a mock specification expecting method
mto be called with no arguments and returning valuev. - final def expectOutM[R, E, B](m: Method[Unit, B])(f: => IO[E, B]): MockSpec[R, E, Unit]
Creates a mock specification expecting method
mto be called with no arguments and returning value produced by effectf. - final def expect_[R, E, A, B](m: Method[A, B])(a: Assertion[A])(v: => B): MockSpec[R, E, A]
Creates a mock specification expecting method
mto be called with arguments satisfying assertionaand returning valuev. - def finalize(): Unit
- Attributes
- protected[java.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 notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def succeed[A](a: A): MockSpec[Any, Nothing, A]
Creates a mock specification that holds the final value
aproduced by specification.Creates a mock specification that holds the final value
aproduced by specification. Models completed specification with no further expectations. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit final def toManagedEnv[R, E, A](spec: MockSpec[R, E, A])(implicit mockable: Mockable[R]): Managed[Nothing, R]
Automatically converts specification to managed environement.
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()