protected abstract void runTest(String endpoint);
@Test
public void testPact() {
Pact pact = createPact();
int port = (Integer) PactServerConfig.randomPort().get();
final PactServerConfig config = new PactServerConfig(port, "localhost");
String state = pact.interactions().head().providerState();
PactVerification.VerificationResult result = new ConsumerPact(pact).runConsumer(config, state,
new Runnable() {
public void run() {
try {