File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
spring-ws-test/src/main/java/org/springframework/ws/test/client Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 30
30
* <ol>
31
31
* <li>Create a {@code MockWebServiceServer} instance by calling {@link #createServer(WebServiceTemplate)},
32
32
* {@link #createServer(WebServiceGatewaySupport)}, or {@link #createServer(ApplicationContext)}.
33
- * <li>Set up request expectations by calling {@link #expect(RequestMatcher)}, possibly by using the default
33
+ * <li>Set up request expectations by calling {@link #expect(RequestMatcher)}, possibly by using the default
34
34
* {@link RequestMatcher} implementations provided in {@link RequestMatchers} (which can be statically imported).
35
35
* Multiple expectations can be set up by chaining {@link ResponseActions#andExpect(RequestMatcher)} calls.</li>
36
36
* <li>Create an appropriate response message by calling
66
66
* public void createServer() throws Exception {
67
67
* <strong>mockServer = MockWebServiceServer.createServer(client)</strong>;
68
68
* }
69
- *
69
+ *
70
70
* @Test
71
71
* public void getCustomerCount() throws Exception {
72
72
* Source expectedRequestPayload =
@@ -94,7 +94,7 @@ public class MockWebServiceServer {
94
94
95
95
private final MockWebServiceMessageSender mockMessageSender ;
96
96
97
- private MockWebServiceServer (MockWebServiceMessageSender mockMessageSender ) {
97
+ public MockWebServiceServer (MockWebServiceMessageSender mockMessageSender ) {
98
98
Assert .notNull (mockMessageSender , "'mockMessageSender' must not be null" );
99
99
this .mockMessageSender = mockMessageSender ;
100
100
}
@@ -172,7 +172,7 @@ public ResponseActions expect(RequestMatcher requestMatcher) {
172
172
public void verify () {
173
173
mockMessageSender .verifyConnections ();
174
174
}
175
-
175
+
176
176
177
177
178
178
You can’t perform that action at this time.
0 commit comments