Search in sources :

Example 1 with ArticlesRestClient

use of au.com.dius.pact.consumer.exampleclients.ArticlesRestClient in project pact-jvm by DiUS.

the class ArticlesTest method testArticles.

@PactVerification("ArticlesProvider")
@Test
public void testArticles() throws IOException {
    ArticlesRestClient providerRestClient = new ArticlesRestClient();
    providerRestClient.getArticles("http://localhost:1234");
}
Also used : ArticlesRestClient(au.com.dius.pact.consumer.exampleclients.ArticlesRestClient) PactVerification(au.com.dius.pact.consumer.PactVerification) Test(org.junit.Test)

Aggregations

PactVerification (au.com.dius.pact.consumer.PactVerification)1 ArticlesRestClient (au.com.dius.pact.consumer.exampleclients.ArticlesRestClient)1 Test (org.junit.Test)1