diff --git a/test/src/main/java/org/springframework/ws/test/server/MockWebServiceClient.java b/test/src/main/java/org/springframework/ws/test/server/MockWebServiceClient.java index e0ccc632..8359d76a 100644 --- a/test/src/main/java/org/springframework/ws/test/server/MockWebServiceClient.java +++ b/test/src/main/java/org/springframework/ws/test/server/MockWebServiceClient.java @@ -43,7 +43,7 @@ import static org.springframework.ws.test.support.AssertionErrors.fail; *
    *
  1. Create a {@code MockWebServiceClient} instance by using {@link #createClient(ApplicationContext)} or * {@link #createClient(WebServiceMessageReceiver, WebServiceMessageFactory)}
  2. - *
  3. Send request messages by calling {@link #sendMessage(RequestCreator)}, possibly by using the default + *
  4. Send request messages by calling {@link #sendRequest(RequestCreator)}, possibly by using the default * {@link RequestCreator} implementations provided in {@link RequestCreators} (which can be statically imported).
  5. *
  6. Set up response expectations by calling {@link ResponseActions#andExpect(ResponseMatcher) andExpect(ResponseMatcher)}, * possibly by using the default {@link ResponseMatcher} implementations provided in {@link ResponseMatchers} @@ -170,7 +170,7 @@ public class MockWebServiceClient { * @return the response actions * @see RequestCreators */ - public ResponseActions sendMessage(RequestCreator requestCreator) { + public ResponseActions sendRequest(RequestCreator requestCreator) { Assert.notNull(requestCreator, "'requestCreator' must not be null"); try { WebServiceMessage request = requestCreator.createRequest(messageFactory); diff --git a/test/src/main/java/org/springframework/ws/test/server/RequestCreators.java b/test/src/main/java/org/springframework/ws/test/server/RequestCreators.java index 7a07356d..8050b803 100644 --- a/test/src/main/java/org/springframework/ws/test/server/RequestCreators.java +++ b/test/src/main/java/org/springframework/ws/test/server/RequestCreators.java @@ -29,7 +29,7 @@ import org.springframework.xml.transform.ResourceSource; /** * Factory methods for {@link RequestCreator} classes. Typically used to provide input for {@link - * MockWebServiceClient#sendMessage(RequestCreator)}. + * MockWebServiceClient#sendRequest(RequestCreator)}. * * @author Arjen Poutsma * @since 2.0 diff --git a/test/src/main/java/org/springframework/ws/test/server/ResponseActions.java b/test/src/main/java/org/springframework/ws/test/server/ResponseActions.java index 32bf3686..57cb9193 100644 --- a/test/src/main/java/org/springframework/ws/test/server/ResponseActions.java +++ b/test/src/main/java/org/springframework/ws/test/server/ResponseActions.java @@ -18,7 +18,7 @@ package org.springframework.ws.test.server; /** * Allows for setting up expectation about response messages. Implementations of this interface are returned by - * {@link MockWebServiceClient#sendMessage(RequestCreator)}. + * {@link MockWebServiceClient#sendRequest(RequestCreator)}. * * @author Arjen Poutsma * @since 2.0 diff --git a/test/src/test/java/org/springframework/ws/test/server/integration/ServerIntegrationTest.java b/test/src/test/java/org/springframework/ws/test/server/integration/ServerIntegrationTest.java index f9788ca5..d572ba8d 100644 --- a/test/src/test/java/org/springframework/ws/test/server/integration/ServerIntegrationTest.java +++ b/test/src/test/java/org/springframework/ws/test/server/integration/ServerIntegrationTest.java @@ -57,7 +57,7 @@ public class ServerIntegrationTest { "" + "42" + ""); - mockClient.sendMessage(withPayload(requestPayload)).andExpect(payload(expectedResponsePayload)); + mockClient.sendRequest(withPayload(requestPayload)).andExpect(payload(expectedResponsePayload)); }