CatsEffectStubs

org.scalamock.stubs.CatsEffectStubs

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

final def resetStubs(): Unit

Resets all recorded stub functions and arguments. This is useful if you want to create your stub once per suite. Note that in such case test cases should run sequentially

Resets all recorded stub functions and arguments. This is useful if you want to create your stub once per suite. Note that in such case test cases should run sequentially

Attributes

Inherited from:
StubsBase (hidden)
inline def stub[T]: Stub[T]

Generates an object of type T with possibility to record methods arguments and set-up method results

Generates an object of type T with possibility to record methods arguments and set-up method results

Attributes

Inherited from:
StubsBase (hidden)

Givens

Givens

given given_CatsEffectStubIO: CatsEffectStubIO

Inherited givens

given given_StubUniqueIndexGenerator: StubUniqueIndexGenerator

Generates unique index for each stub

Generates unique index for each stub

Attributes

Inherited from:
StubsBase (hidden)
given stubs: CreatedStubs

Collects all generated stubs

Collects all generated stubs

Attributes

Inherited from:
StubsBase (hidden)

Implicits

Implicits

implicit inline def stubbed[R](inline f: => R)(using NotGiven[StubbedIOMethod[_, _]]): StubbedIOMethod0[R]
implicit inline def stubbed[R](inline f: () => R): StubbedIOMethod0[R]
implicit inline def stubbed[T1, R](inline f: T1 => R): StubbedIOMethod[T1, R]
implicit inline def stubbed[T1, T2, R](inline f: (T1, T2) => R): StubbedIOMethod[(T1, T2), R]
implicit inline def stubbed[T1, T2, T3, R](inline f: (T1, T2, T3) => R): StubbedIOMethod[(T1, T2, T3), R]
implicit inline def stubbed[T1, T2, T3, T4, R](inline f: (T1, T2, T3, T4) => R): StubbedIOMethod[(T1, T2, T3, T4), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, R](inline f: (T1, T2, T3, T4, T5) => R): StubbedIOMethod[(T1, T2, T3, T4, T5), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, R](inline f: (T1, T2, T3, T4, T5, T6) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, R](inline f: (T1, T2, T3, T4, T5, T6, T7) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21), R]
implicit inline def stubbed[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) => R): StubbedIOMethod[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22), R]