Applicability

org.llm4s.testkit.Applicability

Whether a ContractCase applies to a client, and if it does, the provider's reply for it.

Attributes

Source
ModelCallContract.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Applies(reply: RecordedReply)

The case applies: the server answers with reply.

The case applies: the server answers with reply.

Attributes

Source
ModelCallContract.scala
final case class NotApplicable(reason: String)

The provider cannot produce the case, for reason, which the spec states so the gap is visible.

The provider cannot produce the case, for reason, which the spec states so the gap is visible.

Attributes

Source
ModelCallContract.scala