Packages

t

org.scalamock.ziotest

ScalamockZIOSyntax

trait ScalamockZIOSyntax extends ScalamockZIOSyntaxBase with MockConvertions

Allows configuring mocks outside of test classes, if needed:

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

Creating mocks and configuring Ordering can only be done in test code. The rest of the API is available through mixing in ScalamockZIOSyntax.

Linear Supertypes
MockConvertions, ScalamockZIOSyntaxBase, ZIOAssertionSupport, MockContextStub, MockContext, Matchers, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalamockZIOSyntax
  2. MockConvertions
  3. ScalamockZIOSyntaxBase
  4. ZIOAssertionSupport
  5. MockContextStub
  6. MockContext
  7. Matchers
  8. AnyRef
  9. 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. class EpsilonMatcher extends AnyRef
    Attributes
    protected
    Definition Classes
    Matchers
  3. type ExpectationException = Throwable
    Definition Classes
    MockContextStub → MockContext
  4. implicit class RichIOHandler[E, A] extends AnyRef
    Definition Classes
    ScalamockZIOSyntaxBase
  5. implicit class RichUIOHandler[A] extends AnyRef
    Definition Classes
    ScalamockZIOSyntaxBase

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 ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. 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
  6. def argAssert[T](assertions: (T) ⇒ Any)(implicit classTag: ClassTag[T]): MatcherBase
    Attributes
    protected
    Definition Classes
    Matchers
  7. def argAssert[T](clue: String)(assertions: (T) ⇒ Any)(implicit classTag: ClassTag[T]): MatcherBase
    Attributes
    protected
    Definition Classes
    Matchers
  8. def argThat[T](predicate: (T) ⇒ Boolean)(implicit classTag: ClassTag[T]): MatcherBase
    Attributes
    protected
    Definition Classes
    Matchers
  9. def argThat[T](clue: String)(predicate: (T) ⇒ Boolean)(implicit classTag: ClassTag[T]): MatcherBase
    Attributes
    protected
    Definition Classes
    Matchers
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. def assertArgs[T1, T2, T3, T4](matcher: (T1, T2, T3, T4) ⇒ Unit): FunctionAdapter4[T1, T2, T3, T4, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  30. def assertArgs[T1, T2, T3](matcher: (T1, T2, T3) ⇒ Unit): FunctionAdapter3[T1, T2, T3, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  31. def assertArgs[T1, T2](matcher: (T1, T2) ⇒ Any): FunctionAdapter2[T1, T2, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  32. def assertArgs[T1](matcher: (T1) ⇒ Any): FunctionAdapter1[T1, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  33. def capture[T](cap: Capture[T]): CaptureMatcher[T]
    Attributes
    protected
    Definition Classes
    Matchers
  34. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  35. implicit def doubleToEpsilon(d: Double): EpsilonMatcher
    Attributes
    protected
    Definition Classes
    Matchers
  36. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  38. def generateMockDefaultName(prefix: String): Symbol
    Definition Classes
    MockContext
  39. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. def inAnyOrder[T](what: ⇒ T): T
    Attributes
    protected
    Definition Classes
    MockContext
  42. def inAnyOrderWithLogging[T](what: ⇒ T): T
    Attributes
    protected
    Definition Classes
    MockContext
  43. def inSequence[T](what: ⇒ T): T
    Attributes
    protected
    Definition Classes
    MockContext
  44. def inSequenceWithLogging[T](what: ⇒ T): T
    Attributes
    protected
    Definition Classes
    MockContext
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. implicit def matcherBaseToMockParameter[T](m: MatcherBase): MockParameter[T]
    Attributes
    protected
    Definition Classes
    Matchers
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. def newExpectationException(message: String, methodName: Option[Symbol]): Nothing
    Attributes
    protected
    Definition Classes
    MockContextStub → MockContext
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  51. def renderZIOAssertion(failure: TestTrace[Boolean]): String
    Definition Classes
    ZIOAssertionSupport
  52. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  53. implicit macro def toMockFunction0[R](f: () ⇒ R)(implicit arg0: Defaultable[R]): MockFunction0[R]
    Definition Classes
    MockConvertions
  54. implicit macro def toMockFunction1[T1, R](f: (T1) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction1[T1, R]
    Definition Classes
    MockConvertions
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. implicit macro def toMockFunction2[T1, T2, R](f: (T1, T2) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction2[T1, T2, R]
    Definition Classes
    MockConvertions
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. implicit def toMockParameter[T](v: T): MockParameter[T]
    Attributes
    protected
    Definition Classes
    Matchers
  77. def toString(): String
    Definition Classes
    AnyRef → Any
  78. implicit macro def toStubFunction0[R](f: () ⇒ R)(implicit arg0: Defaultable[R]): StubFunction0[R]
    Definition Classes
    MockConvertions
  79. implicit macro def toStubFunction1[T1, R](f: (T1) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction1[T1, R]
    Definition Classes
    MockConvertions
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. implicit macro def toStubFunction2[T1, T2, R](f: (T1, T2) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction2[T1, T2, R]
    Definition Classes
    MockConvertions
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  103. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. def where[T1, T2, T3, T4](matcher: (T1, T2, T3, T4) ⇒ Boolean): FunctionAdapter4[T1, T2, T3, T4, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  123. def where[T1, T2, T3](matcher: (T1, T2, T3) ⇒ Boolean): FunctionAdapter3[T1, T2, T3, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  124. def where[T1, T2](matcher: (T1, T2) ⇒ Boolean): FunctionAdapter2[T1, T2, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  125. def where[T1](matcher: (T1) ⇒ Boolean): FunctionAdapter1[T1, Boolean]
    Attributes
    protected
    Definition Classes
    Matchers
  126. 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 MockConvertions

Inherited from ScalamockZIOSyntaxBase

Inherited from ZIOAssertionSupport

Inherited from MockContextStub

Inherited from MockContext

Inherited from Matchers

Inherited from AnyRef

Inherited from Any

Ungrouped