public class DescriptionGenerator<I extends Interaction>
Class responsible for building junit tests Description.
public DescriptionGenerator(@NotNull
org.junit.runners.model.TestClass testClass,
@Nullable
au.com.dius.pact.core.model.Pact<I> pact,
@Nullable
au.com.dius.pact.core.model.PactSource pactSource,
@Nullable
java.lang.String consumerName)
Class responsible for building junit tests Description.
@NotNull
public org.junit.runner.Description generate(@NotNull
au.com.dius.pact.core.model.Interaction interaction)
Builds an instance of junit Description adhering with this logic for building the name: If the PactSource is of type BrokerUrlSource and its tag is not empty then the test name will be "#consumername tag:#tagname - Upon #interaction". For all the other cases "#consumername - Upon #interaction"
interaction - the Interaction under test