pact4s.provider.ProviderInfoBuilder$
See theProviderInfoBuilder companion class
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Create a ProviderInfoBuilder by providing a java.net.URL rather than specifying the URL components separately
Create a ProviderInfoBuilder by providing a java.net.URL rather than specifying the URL components separately
Attributes
Auxiliary constructor that provides some common defaults for the the mock provider address
Auxiliary constructor that provides some common defaults for the the mock provider address
Example usage:
ProviderInfoBuilder(
name = "Provider Service",
pactSource = FileSource("Consumer Service" -> new File("./pacts/pact.json"))
).withPort(80)
.withStateChangeEndpoint("setup")
Attributes