Object/Trait

zio.test.mock

MockSpec

Related Docs: trait MockSpec | package mock

Permalink

object MockSpec

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MockSpec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def expect[R, E, A, B](m: Method[A, B])(a: Assertion[A])(f: (A) ⇒ B): MockSpec[R, E, A]

    Permalink

    Creates a mock specification expecting method m to be called with arguments satisfying assertion a and returning value produced by function f using input arguments.

  9. final def expectAny[R, E, B](m: Method[Any, B])(f: (Any) ⇒ B): MockSpec[R, E, Any]

    Permalink

    Creates a mock specification expecting method m to be called with any arguments and returning value produced by function f using input arguments.

  10. final def expectAnyM[R, E, B](m: Method[Any, B])(v: (Any) ⇒ IO[E, B]): MockSpec[R, E, Any]

    Permalink

    Creates a mock specification expecting method m to be called with any arguments and returning value produced by effect f using input arguments.

  11. final def expectAnyM_[R, E, B](m: Method[Any, B])(f: ⇒ IO[E, B]): MockSpec[R, E, Any]

    Permalink

    Creates a mock specification expecting method m to be called with any arguments and returning value produced by effect f.

  12. final def expectAny_[R, E, B](m: Method[Any, B])(v: ⇒ B): MockSpec[R, E, Any]

    Permalink

    Creates a mock specification expecting method m to be called with any arguments and returning value v.

  13. final def expectIn[R, E, A](m: Method[A, Unit])(a: Assertion[A]): MockSpec[R, E, A]

    Permalink

    Creates a mock specification expecting method m to be called with arguments satisfying assertion a and returning unit.

  14. final def expectM[R, E, A, B](m: Method[A, B])(a: Assertion[A])(f: (A) ⇒ IO[E, B]): MockSpec[R, E, A]

    Permalink

    Creates a mock specification expecting method m to be called with arguments satisfying assertion a and returning value produced by effect f using input arguments.

  15. final def expectM_[R, E, A, B](m: Method[A, B])(a: Assertion[A])(f: ⇒ IO[E, B]): MockSpec[R, E, A]

    Permalink

    Creates a mock specification expecting method m to be called with arguments satisfying assertion a and returning value produced by effect f.

  16. final def expectOut[R, E, B](m: Method[Unit, B])(v: ⇒ B): MockSpec[R, E, Unit]

    Permalink

    Creates a mock specification expecting method m to be called with no arguments and returning value v.

  17. final def expectOutM[R, E, B](m: Method[Unit, B])(f: ⇒ IO[E, B]): MockSpec[R, E, Unit]

    Permalink

    Creates a mock specification expecting method m to be called with no arguments and returning value produced by effect f.

  18. final def expect_[R, E, A, B](m: Method[A, B])(a: Assertion[A])(v: ⇒ B): MockSpec[R, E, A]

    Permalink

    Creates a mock specification expecting method m to be called with arguments satisfying assertion a and returning value v.

  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def succeed[A](a: A): MockSpec[Any, Nothing, A]

    Permalink

    Creates a mock specification that holds the final value a produced by specification.

    Creates a mock specification that holds the final value a produced by specification. Models completed specification with no further expectations.

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. implicit final def toManagedEnv[R, E, A](spec: MockSpec[R, E, A])(implicit mockable: Mockable[R]): Managed[Nothing, R]

    Permalink

    Automatically converts specification to managed environement.

  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped