@@ -0,0 +1,934 @@
+package de.mvitz.pact.consumer;%0A%0Aimport au.com.dius.pact.consumer.*;%0Aimport au.com.dius.pact.consumer.dsl.PactDslWithProvider;%0Aimport au.com.dius.pact.model.PactFragment;%0Aimport org.junit.*;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class ConsumerAnnotationTest %7B%0A%0A    @Rule%0A    public PactProviderRule mockProvider =%0A            new PactProviderRule(%22My Spring Boot Provider%22, this);%0A%0A%0A    @Pact(consumer = %22My JAX-RS Consumer%22)%0A    public PactFragment createFragment(PactDslWithProvider builder) %7B%0A        return builder%0A                .uponReceiving(%22a root request%22).method(%22GET%22).path(%22/%22)%0A                .willRespondWith().status(200).body(%22Hello, world!%22)%0A                .toFragment();%0A    %7D%0A%0A    @Test%0A    @PactVerification%0A    public void runTest() throws Exception %7B%0A        final Consumer consumer = Consumer.of(mockProvider.getConfig().url());%0A        assertEquals(consumer.run(), %22Hello, world!%22);%0A    %7D%0A%7D%0A

Add consumer test with annotations