PactBuilderOps

pact4s.syntax.PactOps.PactBuilderOps
final class PactBuilderOps(val builder: PactBuilder) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def `with`(values: Map[String, Any]): PactBuilder

Values to configure the interaction. In the case of an interaction configured by a plugin, you need to follow the plugin documentation of what values must be specified here.

Values to configure the interaction. In the case of an interaction configured by a plugin, you need to follow the plugin documentation of what values must be specified here.

Attributes

def consumer(consumer: String): PactBuilder
def given(state: String, params: Map[String, Any]): PactBuilder

Describe the state the provider needs to be in for the pact test to be verified. Any parameters for the provider state can be provided in the second parameter.

Describe the state the provider needs to be in for the pact test to be verified. Any parameters for the provider state can be provided in the second parameter.

Attributes

def provider(provider: String): PactBuilder

Concrete fields