// Path: acmeair-services/src/main/java/com/acmeair/service/UserService.java
// public interface UserService {
//     CustomerInfo getCustomerInfo(String customerId);
// }


import au.com.dius.pact.consumer.Pact;
import au.com.dius.pact.consumer.PactProviderRule;
import au.com.dius.pact.consumer.PactVerification;
import au.com.dius.pact.consumer.dsl.PactDslWithProvider;
import au.com.dius.pact.model.PactFragment;
import com.acmeair.service.UserService;
import org.apache.http.HttpStatus;
import org.junit.Rule;
import org.junit.Test;
import java.io.IOException;
import java.util.NoSuchElementException;
import static com.seanyinx.github.unit.scaffolding.AssertUtils.expectFailing;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
package com.acmeair.hystrix;




public class UserCommandFetchingCustomerFailedTest {
    @Rule
    public final PactProviderRule providerRule = new PactProviderRule("CustomerService", this);

// Path: acmeair-services/src/main/java/com/acmeair/service/UserService.java
// public interface UserService {
//     CustomerInfo getCustomerInfo(String customerId);
// }


// Path: acmeair-booking-service/src/test/java/com/acmeair/hystrix/UserCommandFetchingCustomerFailedTest.java
import au.com.dius.pact.consumer.Pact;
import au.com.dius.pact.consumer.PactProviderRule;
import au.com.dius.pact.consumer.PactVerification;
import au.com.dius.pact.consumer.dsl.PactDslWithProvider;
import au.com.dius.pact.model.PactFragment;
import com.acmeair.service.UserService;
import org.apache.http.HttpStatus;
import org.junit.Rule;
import org.junit.Test;
import java.io.IOException;
import java.util.NoSuchElementException;
import static com.seanyinx.github.unit.scaffolding.AssertUtils.expectFailing;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;

package com.acmeair.hystrix;




public class UserCommandFetchingCustomerFailedTest {
    @Rule
    public final PactProviderRule providerRule = new PactProviderRule("CustomerService", this);

    private final UserService userService = new TestUserCommand(providerRule.getConfig().url());