Packages

t

org.scalamock.ziotest

ScalamockZIOSpec

trait ScalamockZIOSpec extends ZIOSpecDefault with ScalamockZIOSpecSetup with ScalamockZIOSyntax

Base trait for tests on zio-test, using mocks.

Basic example:

object ExampleSpec extends ScalamockZIOSpec {

  trait Service {
    def f(x: Int): UIO[String]
  }

  override def spec: Spec[TestEnvironment, Any] =
    suite("ExampleSpec")(
      test("succeed if function is invoked as expected") {
        for {
          _ <- ZIO.serviceWith[Service] { mock =>
            (mock.f _).expects(42).returns(ZIO.succeed("-42"))
          }
          value <- ZIO.serviceWithZIO[Service](_.f(42))
        } yield assertTrue(value == "-42")
      },
    ).provide(mock[Service])
}
Linear Supertypes
ScalamockZIOSyntax, MockConvertions, ScalamockZIOSyntaxBase, ZIOAssertionSupport, MockContextStub, MockContext, Matchers, ScalamockZIOSpecSetup, ZIOSpecDefault, ZIOSpec[TestEnvironment], ZIOSpecVersionSpecific[TestEnvironment], ZIOSpecAbstract, ZIOSpecAbstractVersionSpecific, ZIOApp, ZIOAppVersionSpecific, ZIOAppPlatformSpecific, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalamockZIOSpec
  2. ScalamockZIOSyntax
  3. MockConvertions
  4. ScalamockZIOSyntaxBase
  5. ZIOAssertionSupport
  6. MockContextStub
  7. MockContext
  8. Matchers
  9. ScalamockZIOSpecSetup
  10. ZIOSpecDefault
  11. ZIOSpec
  12. ZIOSpecVersionSpecific
  13. ZIOSpecAbstract
  14. ZIOSpecAbstractVersionSpecific
  15. ZIOApp
  16. ZIOAppVersionSpecific
  17. ZIOAppPlatformSpecific
  18. AnyRef
  19. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class AllowAnyOrderSyntax[A] extends AnyRef
    Definition Classes
    ZIOAssertionSupport
  2. type Environment = TestEnvironment
    Definition Classes
    ZIOSpec → ZIOApp
  3. class EpsilonMatcher extends AnyRef
    Attributes
    protected
    Definition Classes
    Matchers
  4. type ExpectationException = Throwable
    Definition Classes
    MockContextStub → MockContext
  5. implicit class RichIOHandler[E, A] extends AnyRef
    Definition Classes
    ScalamockZIOSyntaxBase
  6. implicit class RichUIOHandler[A] extends AnyRef
    Definition Classes
    ScalamockZIOSyntaxBase

Abstract Value Members

  1. abstract def spec: Spec[TestEnvironment with Scope, Any]
    Definition Classes
    ZIOSpecDefault → ZIOSpecAbstract

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *: MatchAny
    Attributes
    protected
    Definition Classes
    Matchers
  4. final def <>(that: ZIOSpecAbstract)(implicit trace: Trace): ZIOSpecAbstract
    Definition Classes
    ZIOSpecAbstract
  5. final def <>(that: ZIOApp)(implicit trace: Trace): ZIOApp
    Definition Classes
    ZIOApp
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. implicit def allowAnyOrderSyntax[A](assertion: Assertion[A])(implicit arg0: ClassTag[A]): AllowAnyOrderSyntax[A]

    Similar to zioAssertionToMockParameter with support for arbitrary mock calls.

    Similar to zioAssertionToMockParameter with support for arbitrary mock calls. Reports less information on UNSATISFIED errors

    Definition Classes
    ScalamockZIOSyntaxBase
  8. def argAssert[T](assertions: (T) ⇒ Any)(implicit classTag: ClassTag[T]): MatcherBase
    Attributes
    protected
    Definition Classes
    Matchers
  9. def argAssert[T](clue: String)(assertions: (T) ⇒ Any)(implicit classTag: ClassTag[T]): MatcherBase
    Attributes
    protected
    Definition Classes
    Matchers
  10. def argThat[T](predicate: (T) ⇒ Boolean)(implicit classTag: ClassTag[T]): MatcherBase
    Attributes
    protected
    Definition Classes
    Matchers
  11. def argThat[T](clue: String)(predicate: (T) ⇒ Boolean)(implicit classTag: ClassTag[T]): MatcherBase
    Attributes
    protected
    Definition Classes
    Matchers
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def aspects: Chunk[TestAspectAtLeastR[TestEnvironment]]
    Definition Classes
    ScalamockZIOSpecSetup → ZIOSpecAbstract
  14. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) ⇒ Unit): FunctionAdapter22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  15. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ Unit): FunctionAdapter21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  16. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ Unit): FunctionAdapter20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  17. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ Unit): FunctionAdapter19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  18. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ Unit): FunctionAdapter18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  19. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ Unit): FunctionAdapter17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  20. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ Unit): FunctionAdapter16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  21. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ Unit): FunctionAdapter15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  22. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ Unit): FunctionAdapter14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  23. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ Unit): FunctionAdapter13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  24. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ Unit): FunctionAdapter12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  25. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ Unit): FunctionAdapter11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  26. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ Unit): FunctionAdapter10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  27. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8, T9](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ Unit): FunctionAdapter9[T1, T2, T3, T4, T5, T6, T7, T8, T9, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  28. def assertArgs[T1, T2, T3, T4, T5, T6, T7, T8](matcher: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ Unit): FunctionAdapter8[T1, T2, T3, T4, T5, T6, T7, T8, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  29. def assertArgs[T1, T2, T3, T4, T5, T6, T7](matcher: (T1, T2, T3, T4, T5, T6, T7) ⇒ Unit): FunctionAdapter7[T1, T2, T3, T4, T5, T6, T7, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  30. def assertArgs[T1, T2, T3, T4, T5, T6](matcher: (T1, T2, T3, T4, T5, T6) ⇒ Unit): FunctionAdapter6[T1, T2, T3, T4, T5, T6, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  31. def assertArgs[T1, T2, T3, T4, T5](matcher: (T1, T2, T3, T4, T5) ⇒ Unit): FunctionAdapter5[T1, T2, T3, T4, T5, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  32. def assertArgs[T1, T2, T3, T4](matcher: (T1, T2, T3, T4) ⇒ Unit): FunctionAdapter4[T1, T2, T3, T4, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  33. def assertArgs[T1, T2, T3](matcher: (T1, T2, T3) ⇒ Unit): FunctionAdapter3[T1, T2, T3, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  34. def assertArgs[T1, T2](matcher: (T1, T2) ⇒ Any): FunctionAdapter2[T1, T2, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  35. def assertArgs[T1](matcher: (T1) ⇒ Any): FunctionAdapter1[T1, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  36. val bootstrap: ZLayer[Any, Any, TestEnvironment]
    Definition Classes
    ZIOSpecDefault → ZIOSpecAbstract → ZIOApp
  37. def capture[T](cap: Capture[T]): CaptureMatcher[T]
    Attributes
    protected
    Definition Classes
    Matchers
  38. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  39. implicit def doubleToEpsilon(d: Double): EpsilonMatcher
    Attributes
    protected
    Definition Classes
    Matchers
  40. final val environmentTag: zio.EnvironmentTag[TestEnvironment]
    Definition Classes
    ZIOSpec → ZIOApp
  41. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  43. final def exit(code: ExitCode)(implicit trace: Trace): UIO[Unit]
    Definition Classes
    ZIOApp
  44. def exitUnsafe(code: ExitCode)(implicit unsafe: Unsafe): Unit
    Attributes
    protected[zio]
    Definition Classes
    ZIOApp
  45. def generateMockDefaultName(prefix: String): Symbol
    Definition Classes
    MockContext
  46. final def getArgs(implicit trace: Trace): ZIO[ZIOAppArgs, Nothing, Chunk[String]]
    Definition Classes
    ZIOApp
  47. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  48. def gracefulShutdownTimeout: zio.Duration
    Definition Classes
    ZIOApp
  49. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. def inAnyOrder[A](what: ⇒ A): A

    Documentation: https://scalamock.org/classic/features#ordering

    Documentation: https://scalamock.org/classic/features#ordering

    Definition Classes
    ScalamockZIOSpec → MockContext
  51. def inAnyOrderWithLogging[T](what: ⇒ T): T
    Attributes
    protected
    Definition Classes
    MockContext
  52. def inSequence[A](what: ⇒ A): A

    Documentation: https://scalamock.org/classic/features#ordering

    Documentation: https://scalamock.org/classic/features#ordering

    Definition Classes
    ScalamockZIOSpec → MockContext
  53. def inSequenceWithLogging[T](what: ⇒ T): T
    Attributes
    protected
    Definition Classes
    MockContext
  54. def installSignalHandlers(runtime: Runtime[Any])(implicit trace: Trace): UIO[Any]
    Attributes
    protected
    Definition Classes
    ZIOApp
  55. final def invoke(args: Chunk[String])(implicit trace: Trace): ZIO[Any, Any, Any]
    Definition Classes
    ZIOApp
  56. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  57. final def main(args0: Array[String]): Unit
    Definition Classes
    ZIOAppPlatformSpecific
  58. implicit def matcherBaseToMockParameter[T](m: MatcherBase): MockParameter[T]
    Attributes
    protected
    Definition Classes
    Matchers
  59. macro def mock[A](name: String): ULayer[A]

    Returns a layer for creating a mock with a name, for testing in Expectations-First style.

    Returns a layer for creating a mock with a name, for testing in Expectations-First style. https://scalamock.org/user-guide/mocking_style/

    Usually, it's needed to provide layers where the mock is needed.

    Can pass a name, if you want it to appear in error messages instead of mock-1.

  60. macro def mock[A]: ULayer[A]

    Returns a layer for creating a mock, for testing in Expectations-First style.

    Returns a layer for creating a mock, for testing in Expectations-First style. https://scalamock.org/user-guide/mocking_style/

    Usually, it's needed to provide layers where the mock is needed.

  61. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  62. def newExpectationException(message: String, methodName: Option[Symbol]): Nothing
    Attributes
    protected
    Definition Classes
    MockContextStub → MockContext
  63. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  64. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  65. def renderZIOAssertion(failure: TestTrace[Boolean]): String
    Definition Classes
    ZIOAssertionSupport
  66. final def run: ZIO[Environment with ZIOAppArgs with Scope, Any, Summary]
    Definition Classes
    ZIOSpecAbstract → ZIOApp
  67. final def runSpec(implicit trace: Trace): ZIO[Environment with TestEnvironment with ZIOAppArgs with Scope, Throwable, Summary]
    Attributes
    protected
    Definition Classes
    ZIOSpecAbstract
  68. def runtime: Runtime[Any]
    Definition Classes
    ZIOApp
  69. def scalamockInternalSpecAspects: Chunk[TestAspectAtLeastR[TestEnvironment]]
    Attributes
    protected[ziotest]
    Definition Classes
    ScalamockZIOSpecSetup
  70. macro def stub[A](name: String): ULayer[A]

    Returns a layer for creating a stub with a name, for testing in Record-then-Verify style.

    Returns a layer for creating a stub with a name, for testing in Record-then-Verify style. https://scalamock.org/user-guide/mocking_style/

    Usually, it's needed to provide layers where the stub is needed.

    Can pass a name, if you want it to appear in error messages instead of mock-1.

  71. macro def stub[A]: ULayer[A]

    Returns a layer for creating a stub, for testing in Record-then-Verify style.

    Returns a layer for creating a stub, for testing in Record-then-Verify style. https://scalamock.org/user-guide/mocking_style/

    Usually, it's needed to provide layers where the stub is needed.

  72. def suite[In](label: String)(specs: In*)(implicit suiteConstructor: SuiteConstructor[In], sourceLocation: SourceLocation, trace: Trace): Spec[OutEnvironment, OutError]
    Definition Classes
    ZIOSpec
  73. macro def suiteAll(name: String)(spec: Any): Spec[Nothing, Any]
    Definition Classes
    ZIOSpecVersionSpecific
  74. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  75. def test[In](label: String)(assertion: ⇒ In)(implicit testConstructor: TestConstructor[Nothing, In], sourceLocation: SourceLocation, trace: Trace): Out
    Definition Classes
    ZIOSpec
  76. implicit macro def toMockFunction0[R](f: () ⇒ R)(implicit arg0: Defaultable[R]): MockFunction0[R]
    Definition Classes
    MockConvertions
  77. implicit macro def toMockFunction1[T1, R](f: (T1) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction1[T1, R]
    Definition Classes
    MockConvertions
  78. implicit macro def toMockFunction10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R]
    Definition Classes
    MockConvertions
  79. implicit macro def toMockFunction11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R]
    Definition Classes
    MockConvertions
  80. implicit macro def toMockFunction12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R]
    Definition Classes
    MockConvertions
  81. implicit macro def toMockFunction13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R]
    Definition Classes
    MockConvertions
  82. implicit macro def toMockFunction14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R]
    Definition Classes
    MockConvertions
  83. implicit macro def toMockFunction15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R]
    Definition Classes
    MockConvertions
  84. implicit macro def toMockFunction16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R]
    Definition Classes
    MockConvertions
  85. implicit macro def toMockFunction17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R]
    Definition Classes
    MockConvertions
  86. implicit macro def toMockFunction18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R]
    Definition Classes
    MockConvertions
  87. implicit macro def toMockFunction19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R]
    Definition Classes
    MockConvertions
  88. implicit macro def toMockFunction2[T1, T2, R](f: (T1, T2) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction2[T1, T2, R]
    Definition Classes
    MockConvertions
  89. implicit macro def toMockFunction20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R]
    Definition Classes
    MockConvertions
  90. implicit macro def toMockFunction21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R]
    Definition Classes
    MockConvertions
  91. implicit macro def toMockFunction22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R]
    Definition Classes
    MockConvertions
  92. implicit macro def toMockFunction3[T1, T2, T3, R](f: (T1, T2, T3) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction3[T1, T2, T3, R]
    Definition Classes
    MockConvertions
  93. implicit macro def toMockFunction4[T1, T2, T3, T4, R](f: (T1, T2, T3, T4) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction4[T1, T2, T3, T4, R]
    Definition Classes
    MockConvertions
  94. implicit macro def toMockFunction5[T1, T2, T3, T4, T5, R](f: (T1, T2, T3, T4, T5) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction5[T1, T2, T3, T4, T5, R]
    Definition Classes
    MockConvertions
  95. implicit macro def toMockFunction6[T1, T2, T3, T4, T5, T6, R](f: (T1, T2, T3, T4, T5, T6) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction6[T1, T2, T3, T4, T5, T6, R]
    Definition Classes
    MockConvertions
  96. implicit macro def toMockFunction7[T1, T2, T3, T4, T5, T6, T7, R](f: (T1, T2, T3, T4, T5, T6, T7) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction7[T1, T2, T3, T4, T5, T6, T7, R]
    Definition Classes
    MockConvertions
  97. implicit macro def toMockFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R](f: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]
    Definition Classes
    MockConvertions
  98. implicit macro def toMockFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]
    Definition Classes
    MockConvertions
  99. implicit def toMockParameter[T](v: T): MockParameter[T]
    Attributes
    protected
    Definition Classes
    Matchers
  100. def toString(): String
    Definition Classes
    AnyRef → Any
  101. implicit macro def toStubFunction0[R](f: () ⇒ R)(implicit arg0: Defaultable[R]): StubFunction0[R]
    Definition Classes
    MockConvertions
  102. implicit macro def toStubFunction1[T1, R](f: (T1) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction1[T1, R]
    Definition Classes
    MockConvertions
  103. implicit macro def toStubFunction10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R]
    Definition Classes
    MockConvertions
  104. implicit macro def toStubFunction11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R]
    Definition Classes
    MockConvertions
  105. implicit macro def toStubFunction12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R]
    Definition Classes
    MockConvertions
  106. implicit macro def toStubFunction13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R]
    Definition Classes
    MockConvertions
  107. implicit macro def toStubFunction14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R]
    Definition Classes
    MockConvertions
  108. implicit macro def toStubFunction15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R]
    Definition Classes
    MockConvertions
  109. implicit macro def toStubFunction16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R]
    Definition Classes
    MockConvertions
  110. implicit macro def toStubFunction17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R]
    Definition Classes
    MockConvertions
  111. implicit macro def toStubFunction18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R]
    Definition Classes
    MockConvertions
  112. implicit macro def toStubFunction19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R]
    Definition Classes
    MockConvertions
  113. implicit macro def toStubFunction2[T1, T2, R](f: (T1, T2) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction2[T1, T2, R]
    Definition Classes
    MockConvertions
  114. implicit macro def toStubFunction20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R]
    Definition Classes
    MockConvertions
  115. implicit macro def toStubFunction21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R]
    Definition Classes
    MockConvertions
  116. implicit macro def toStubFunction22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R]
    Definition Classes
    MockConvertions
  117. implicit macro def toStubFunction3[T1, T2, T3, R](f: (T1, T2, T3) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction3[T1, T2, T3, R]
    Definition Classes
    MockConvertions
  118. implicit macro def toStubFunction4[T1, T2, T3, T4, R](f: (T1, T2, T3, T4) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction4[T1, T2, T3, T4, R]
    Definition Classes
    MockConvertions
  119. implicit macro def toStubFunction5[T1, T2, T3, T4, T5, R](f: (T1, T2, T3, T4, T5) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction5[T1, T2, T3, T4, T5, R]
    Definition Classes
    MockConvertions
  120. implicit macro def toStubFunction6[T1, T2, T3, T4, T5, T6, R](f: (T1, T2, T3, T4, T5, T6) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction6[T1, T2, T3, T4, T5, T6, R]
    Definition Classes
    MockConvertions
  121. implicit macro def toStubFunction7[T1, T2, T3, T4, T5, T6, T7, R](f: (T1, T2, T3, T4, T5, T6, T7) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction7[T1, T2, T3, T4, T5, T6, T7, R]
    Definition Classes
    MockConvertions
  122. implicit macro def toStubFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R](f: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]
    Definition Classes
    MockConvertions
  123. implicit macro def toStubFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]
    Definition Classes
    MockConvertions
  124. val unsafeMockFactory: ZIOMockContext
    Attributes
    protected
    Definition Classes
    ScalamockZIOSpecSetup
  125. implicit macro def validateEnv[R1, R, E](spec: Spec[R, E]): Spec[R1, E]
    Definition Classes
    ZIOSpecAbstractVersionSpecific
  126. implicit macro def validateEnv[R1, R, E, A](zio: ZIO[R, E, A]): ZIO[R1, E, A]
    Definition Classes
    ZIOAppVersionSpecific
  127. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  128. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  129. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  130. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) ⇒ Boolean): FunctionAdapter22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  131. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ Boolean): FunctionAdapter21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  132. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ Boolean): FunctionAdapter20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  133. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ Boolean): FunctionAdapter19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  134. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ Boolean): FunctionAdapter18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  135. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ Boolean): FunctionAdapter17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  136. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ Boolean): FunctionAdapter16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  137. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ Boolean): FunctionAdapter15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  138. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ Boolean): FunctionAdapter14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  139. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ Boolean): FunctionAdapter13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  140. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ Boolean): FunctionAdapter12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  141. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ Boolean): FunctionAdapter11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  142. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ Boolean): FunctionAdapter10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  143. def where[T1, T2, T3, T4, T5, T6, T7, T8, T9](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ Boolean): FunctionAdapter9[T1, T2, T3, T4, T5, T6, T7, T8, T9, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  144. def where[T1, T2, T3, T4, T5, T6, T7, T8](matcher: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ Boolean): FunctionAdapter8[T1, T2, T3, T4, T5, T6, T7, T8, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  145. def where[T1, T2, T3, T4, T5, T6, T7](matcher: (T1, T2, T3, T4, T5, T6, T7) ⇒ Boolean): FunctionAdapter7[T1, T2, T3, T4, T5, T6, T7, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  146. def where[T1, T2, T3, T4, T5, T6](matcher: (T1, T2, T3, T4, T5, T6) ⇒ Boolean): FunctionAdapter6[T1, T2, T3, T4, T5, T6, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  147. def where[T1, T2, T3, T4, T5](matcher: (T1, T2, T3, T4, T5) ⇒ Boolean): FunctionAdapter5[T1, T2, T3, T4, T5, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  148. def where[T1, T2, T3, T4](matcher: (T1, T2, T3, T4) ⇒ Boolean): FunctionAdapter4[T1, T2, T3, T4, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  149. def where[T1, T2, T3](matcher: (T1, T2, T3) ⇒ Boolean): FunctionAdapter3[T1, T2, T3, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  150. def where[T1, T2](matcher: (T1, T2) ⇒ Boolean): FunctionAdapter2[T1, T2, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  151. def where[T1](matcher: (T1) ⇒ Boolean): FunctionAdapter1[T1, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  152. implicit def zioAssertionToMockParameter[A](assertion: Assertion[A])(implicit arg0: ClassTag[A], sourceLocation: SourceLocation): MockParameter[A]

    Syntax for converting zio.test.Assertion to MockParameter.

    Syntax for converting zio.test.Assertion to MockParameter. Internally uses argAssert, so it doesn't work with inAnyOrder.

    For using with inAnyOrder, use AllowAnyOrderSyntax with myAssertion.allowUnorderedCalls

    Example:

    object MyUtils extends ScalamockZIOSyntax {
      def mockGetName = ZIO.serviceWith[UserService] { mock =>
        (mock.getName _).expects(hasField("id", _.id, equalTo(4))).returnsZIO("Agent Smith")
      }
    }

    Equivalent to:

    object MyUtils extends ScalamockZIOSyntax {
      def mockGetName = ZIO.serviceWith[UserService] { mock =>
        (mock.getName _).expects(argAssert("request")(_.id shouldBe 4)).returnsZIO("Agent Smith")
      }
    }
    Definition Classes
    ScalamockZIOSyntaxBase

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from ScalamockZIOSyntax

Inherited from MockConvertions

Inherited from ScalamockZIOSyntaxBase

Inherited from ZIOAssertionSupport

Inherited from MockContextStub

Inherited from MockContext

Inherited from Matchers

Inherited from ScalamockZIOSpecSetup

Inherited from ZIOSpecDefault

Inherited from ZIOSpec[TestEnvironment]

Inherited from ZIOSpecVersionSpecific[TestEnvironment]

Inherited from ZIOSpecAbstract

Inherited from ZIOSpecAbstractVersionSpecific

Inherited from ZIOApp

Inherited from ZIOAppVersionSpecific

Inherited from ZIOAppPlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped