p

zio

mock

package mock

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

Type Members

  1. type BuildFrom[-From, -A, +C] = CanBuildFrom[From, A, C]
    Definition Classes
    BuildFromCompat
  2. implicit class BuildFromOps[From, A, C] extends AnyRef
    Definition Classes
    BuildFromCompat
  3. abstract class Capability[R, I, E, A] extends Base[R]

    A Capability[R, I, E, A] represents a capability of environment R that takes an input I and returns an effect that may fail with an error E or produce a single A.

    A Capability[R, I, E, A] represents a capability of environment R that takes an input I and returns an effect that may fail with an error E or produce a single A.

    To represent polymorphic capabilities you must use one of lazy Capability.Poly types which allow you to delay the declaration of some types to call site.

    To construct capability tags you should start by creating a Mock[R] and extend publicly available Effect, Method, Sink or Stream type members.

    Attributes
    protected
  4. sealed abstract class Expectation[R] extends AnyRef

    An Expectation[R] is an immutable tree structure that represents expectations on environment R.

  5. abstract class Mock[R] extends AnyRef

    A Mock[R] represents a mockable environment R.

  6. abstract class MockSpecDefault extends ZIOSpecDefault
  7. abstract class Proxy extends AnyRef

    A Proxy provides the machinery to map mocked invocations to predefined results and check some constraints on the way.

  8. sealed abstract class Result[-I, +E, +A] extends AnyRef

    A Result[-I, +E, +A] represents the value or failure that will be returned by mock expectation when invoked.

  9. macro class mockable[A] extends Annotation with StaticAnnotation
    Annotations
    @compileTimeOnly( ... )

Value Members

  1. object BuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  2. object Capability
  3. object Expectation
  4. object Mock
  5. object MockClock extends Mock[Clock]
  6. object MockConsole extends Mock[Console]
  7. object MockRandom extends Mock[Random]
  8. object MockReporter
  9. object MockSystem extends Mock[System]
  10. object Result

Inherited from BuildFromCompat

Inherited from AnyRef

Inherited from Any

Ungrouped