Skip to content

Commit 6c870b6

Browse files
author
Ronald Holshausen
committed
Java 6 needs classes to be public
1 parent 0308604 commit 6c870b6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pact-jvm-junit/src/main/java/au/com/dius/pact/consumer/ConsumerPactBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public PactDslWithProvider hasPactWith(String provider) {
2323
return new PactDslWithProvider(provider);
2424
}
2525

26-
class PactDslWithProvider {
26+
public class PactDslWithProvider {
2727
private String providerName;
2828
public PactDslWithProvider(String provider) {
2929
this.providerName = provider;
@@ -33,7 +33,7 @@ public PactDslWithState given(String state) {
3333
return new PactDslWithState(state);
3434
}
3535

36-
class PactDslWithState {
36+
public class PactDslWithState {
3737
private String state;
3838
public PactDslWithState(String state) {
3939
this.state = state;
@@ -43,7 +43,7 @@ public PactDslRequestWithoutPath uponReceiving(String description) {
4343
return new PactDslRequestWithoutPath(description);
4444
}
4545

46-
class PactDslRequestWithoutPath {
46+
public class PactDslRequestWithoutPath {
4747
private String description;
4848
public PactDslRequestWithoutPath(String description) {
4949
this.description = description;
@@ -75,7 +75,7 @@ public PactDslRequestWithPath path(String path) {
7575
}
7676
}
7777

78-
class PactDslRequestWithPath {
78+
public class PactDslRequestWithPath {
7979
private Consumer consumer;
8080
private Provider provider;
8181

@@ -135,7 +135,7 @@ public PactDslResponse willRespondWith() {
135135
}
136136
}
137137

138-
class PactDslResponse {
138+
public class PactDslResponse {
139139
private PactDslRequestWithPath existing;
140140

141141
public PactDslResponse(PactDslRequestWithPath existing) {

0 commit comments

Comments
 (0)